MySQL is a free, open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL).
Using standard mysql functions is there a way to write a query that will return a list of days between …
mysql sql date gaps-and-islandsI'm trying to do some simple manipulations with variables in MySQL 5.0 but I can't quite get it to work. I've …
sql mysql mysql-error-1064I'm trying to retrieve a count of all unique values in a field. Example SQL: SELECT count(distinct accessid) FROM (`…
php mysql codeigniter distinctHere is a demo query, notice it is very simple, Fetches only where base_price is 0, And still, it chooses …
mysql sql conditional switch-statement caseI am trying to load data into mysql database using LOAD DATA LOCAL INFILE A.txt INTO DB LINES TERMINATED …
mysql sql importSHOW VARIABLES LIKE "%wait%" Result: 28800 SET @@GLOBAL.wait_timeout=300 SHOW GLOBAL VARIABLES LIKE "%wait%" Result: 300 SHOW SESSION VARIABLES LIKE "%wait%" …
mysql global-variables session-variablesI have the following entry in my DB table eventName(varchar 100) -> myEvent date(timestamp) -> 2013-03-26 09:00:00 …
mysql unix-timestampHow would I go about deleting all records from a MySQL table from before a certain date, where the date …
mysql datetime delete-rowI have one MySQL table using the InnoDB storage engine; it contains about 2M data rows. When I deleted data …
mysql innodb delete-row