91-9990449935 0120-4256464 |
MySQL QueriesA list of commonly used MySQL queries to create database, use database, create table, insert record, update record, delete record, select record, truncate table and drop table are given below. 1) MySQL Create DatabaseMySQL create database is used to create database. For example 2) MySQL Select/Use DatabaseMySQL use database is used to select database. For example 3) MySQL Create QueryMySQL create query is used to create a table, view, procedure and function. For example: 4) MySQL Alter QueryMySQL alter query is used to add, modify, delete or drop colums of a table. Let's see a query to add column in customers table: 5) MySQL Insert QueryMySQL insert query is used to insert records into table. For example: 6) MySQL Update QueryMySQL update query is used to update records of a table. For example: 7) MySQL Delete QueryMySQL update query is used to delete records of a table from database. For example: 8) MySQL Select QueryOracle select query is used to fetch records from database. For example: 9) MySQL Truncate Table QueryMySQL update query is used to truncate or remove records of a table. It doesn't remove structure. For example: 10) MySQL Drop QueryMySQL drop query is used to drop a table, view or database. It removes structure and data of a table if you drop table. For example:
Next TopicMySQL Insert Query
|