Language : mysql
![]() |
Title | User | Language | Tags | Description | Date |
|---|---|---|---|---|---|---|
|
author_id update | davidbdehaan | MySQL | update qry |
May 11 | |
|
La fonction COALESCE de MySQL permet de renvoyer une valeur par défaut si la valeur null est renvoyée initialement. | pruntrut | MySQL | mysql | Le fonction COALESCE de MySQL permet de renvoyer une valeur par défaut si la valeur null est renvoyée initialement. |
January 29 |
|
[MySQL] Add condition to Virutal Fields | tucq88 | MySQL | mysql | By using HAVING 'virtual_field' CONDITION we can add conditions to virtual fields that created at SELECT |
January 10 |
|
What MySQL Table Has What Column | philsown | MySQL | mysql | How to find a given column in a given database in MySQL |
November 16 |
|
create new database | claudiodev | MySQL | mysql | Create a new database and its respective user with all privileges |
October 22 |
|
Remap values inside a MYSQL query using CASE...WHEN syntax | ginoplusio | MySQL | insert | How to remap a value to another inside a mysql query select. |
October 20 |
|
Delete duplicate records in MySQL database | bluecap | MySQL | mysqlduplicatedelete | Compare a table against itself to remove records where column value(s) are identical. |
October 15 |
|
Delete duplicate records from MySQL Database | welancers | MySQL | delete | Use the same table to query against itself. The greater then sign does the main job of returning only one records of both duplicate records. |
October 12 |
|
MySQL - Simulate MySQL Queries | satie83 | MySQL | mysql | You could start a transaction before running your queries and then rollback after running them. Note that to do this you'll require InnoDB or XtraDb tables (won't work on MyISAM). |
September 20 |
|
Insert into mysql from csv file | kirkfortune | MySQL | mysqlcsv | ensure the url to the csv file is in the root of your file system (eg: C:/mycsvfile.csv) |
August 26 |
|
Age in Years for Given Birthdate | cahyadsn | MySQL | mysql | Given a birthdate in @dob, here are two simple formulae for age in years : (the second formulae is for age in years to two decimal places, ignoring day of month) |
July 25 |
|
Pivot table Schedule | cahyadsn | MySQL | mysql | You have a schedule table (period, day, subject, room) with a primary key period,day to avoid duplicate bookings. You wish to display the schedule as periods, subjects and rooms in rows, and days of the week in columns. |
July 25 |
|
Pull from MySQL and display from table | vdubplate | MySQL | $connect = mysql_connect("localhost:8889", "root", "root"); This means you need your host, user, pass |
July 14 | |
|
Add info to mysql table | vdubplate | MySQL | $connect = mysql_connect("localhost:8889","root","root"); Means: server, user, pass |
July 14 | |
|
MySQL Time Ago function | Jamie | MySQL | time | Retrieves a relative time in a MySQL Query |
June 16, 2012 |

