Search code examples
codeigniter differentiate field names in JOINed tables...


phpcodeigniterselectquery-buildername-collision

Read More
Displaying Data from a Join in Codeigniter 2.2.1...


phpcodeigniterselectquery-buildercodeigniter-2

Read More
Codeigniter database query bug - does not return expected results...


phpcodeigniterselectprepared-statementsql-injection

Read More
SELECT MySQL rows where today's date is between two DATE columns...


mysqlselect

Read More
Why doesn't CodeIgniter's order_by() affect query()?...


phpcodeigniterselectsql-order-byquery-builder

Read More
How to access two databases in a single SELECT query with CodeIgniter's query builder...


phpcodeigniterselectquery-buildermultiple-databases

Read More
How to add an ORDER BY clause using CodeIgniter's query builder...


phpcodeigniterselectsql-order-byquery-builder

Read More
Complex MySQL SORT based on time...


mysqlsortingselect

Read More
Selective query...


mysqlselect

Read More
I want to modify this SQL statement to return only distinct rows of a column...


sqlmysqlselectdistinct

Read More
MySQL SELECT query WHERE timestamp falls on the current date...


mysqldateselecttimestampwhere-clause

Read More
SELECT rows for user where column value is in the future with CodeIgniter...


phpdatetimecodeigniterselectquoting

Read More
Is there an equivalent to SELECT t1.* when there is a USING() clause?...


sqloracle-databasejoinselect

Read More
Why does my single-table SELECT query using CodeIgniter's query builder have an error before the...


phpmysqlcodeigniterselectquery-builder

Read More
Codeigniter: Select from multiple tables...


phpcodeigniterjoinselectquery-builder

Read More
Query to show records with 3 date criterias...


mysqldateselect

Read More
Why does my CodeIgniter model method return no results?...


phpmysqlcodeigniterselectquery-builder

Read More
Why does my Left Join subquery only work with * instead of specifying the fields I need?...


sqlmysqlselectsubqueryleft-join

Read More
How to count the number of rows with a date from a certain year in CodeIgniter?...


phpdatecodeigniterselectcounting

Read More
How to execute a SELECT SUM() query using CodeIgniter's query builder methods...


phpcodeigniterselectsumquery-builder

Read More
How to get only the number from a string in MySQL?...


mysqlsqlstringselectnumbers

Read More
Query fails when Distinct is used...


phpmysqlsqlselectdistinct

Read More
Writing a SUBSTRING() call in CodeIgniter's select() method renders SQL with corrupted quotes...


phpcodeigniterselectquery-builderquoting

Read More
MySQL SELECT only not null values...


mysqlsqlselectnotnull

Read More
SELECT rows from one table where the same pair of columns are not found in another table using CodeI...


phpmysqlcodeigniterselectnot-exists

Read More
How to choose which comes first when specifying OR in SELECT statement...


mysqlselect

Read More
I need to merge empty values with same ID into 1 row, and add to same row also if multiple inputs...


mysqljoinselectgroup-bygroup-concat

Read More
Find an ID which contains 2 values in 2 lines...


sqlmysqlselect

Read More
How to select all rows containing a specific letter?...


mysqlselect

Read More
Select all from the db...


phpselectmysqlibind

Read More
BackNext