advertisement
Allows you to add a string to end or start of a field to use when comparing or selecting data. The second argument is added to the end of the first
Select code
Selecting the minimum value of the field in the brackets.
Select code
Selecting the maxmimum value of the column in the brackets.
Select code
This SQL snippet will select a random record from a mysql database
Select code
This query will show you how to select only distinct (unique) entries from a database.
Select code
Need coding help? Tips, tricks or advice? Check out our webmaster forums
advertisement