What is the different between NOW() and CURRENT_DATE()?
NOW () command is used to show current year,month,date with hours,minutes and seconds. CURRENT_DATE() shows current year,month and date only.
NOW () command is used to show current year,month,date with hours,minutes and seconds. CURRENT_DATE() shows current year,month and date only.
Maximum of 16 indexed columns can be created for any standard table.
In MySql, top 50 rows are displayed by using this following query: SELECT * FROM LIMIT 0,50;
If you want to enter characters as HEX numbers, you can enter HEX numbers with single quotes and a prefix of (X), or just prefix HEX numbers with (Ox). A…
DISTINCT is converted to a GROUP BY on all columns and it will be combined with ORDER BY clause. SELECT DISTINCT t1.a FROM t1,t2 where t1.a=t2.a;
lnnoDB is a transaction safe storage engine developed by Innobase Oy which is a Oracle Corporation now.
ISAM is abbreviated as Indexed Sequential Access Method.It was developed by IBM to store and retrieve data on secondary storage systems like tapes.
Total 5 types of tables are present: MyISAM Heap Merge INNO DB ISAM MyISAM is the default storage engine as of MySQL.
Each MyISAM table is stored on disk in three formats: The ‘.frm’ file stores the table definition The data file has a ‘.MYD’ (MYData) extension The index file has a…
Following commands are used to run in batch mode: mysql ; mysql mysql.out