Answer Posted / ambika balasubramanian
DDL => Data Definition Language
DML => Data Manipulation Language
DDL Commands
1. CREATE TABLE
2. ALTER TABLE
3.DESCRIBE TABLE
4.DROP TABLE
* CREATE TABLE
Syntax:
create table tablename( fieldname1 datatype(),fieldname2
datatype()...);
*ALTER TABLE
1. ADD
2.MODIFY
*ADD
Syntax:
alter table tablename ADD(fieldname datatype()...);
*modify:
syntax:
Alter table tablename modify(fieldname datatype()...);
*DESCRIBE TABLE
Syntax:
DESC(table name)
*DROP TABLE
Syntax: DROP TABLE(Table name);
DML Commands:
1.INSERT
2.SELECT
3.UPDATE
4.DELETE
*INSERT:
SYN:
INSERT INTO Tablename values();
*SELECT:
syn:
select*from <table name>
*UPDATE:
SYN:
update<table name> set to(calculation);
*DELETE:
SYN:
delete form<table name>;
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
How to uploaded files to a table?
am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.
What is cookie and session in php?
Where is the submitted form data stored?
How To Get the Uploaded File Information in the Receiving Script?
Why php is used?
Is multiple inheritance supported in php?
What is the use of mysqli_real_escape_string() function?
How to write the form tag correctly for uploading files?
Can you define an argument as a reference type?
Tell me when a conditional statement is ended with an endif?
What are the method available in form submitting?
Is php dying 2018?
Please explain is it possible to use com component in php?
What are the methods of array in java?