“Insert mysql” Kode Jawaban

Mysql dimasukkan ke dalam ujian

INSERT INTO Customers (CustomerName, City, PostalCode, Country)
VALUES ('Ali','Dubai','58063','UAE'), 
       ('Akshay','Kochi','695311','India'),
       ('Chan','Xining','S-896 23','China');
Funny Flatworm

Insert mysql

# multiple rows to insert
INSERT INTO tbl_name (a,b,c)
    VALUES(1,2,3), (4,5,6), (7,8,9);
Marc Tolkmitt

fk di insert mysql

INSERT INTO joke(joke_text, joke_date, author_id)
VALUES (‘Humpty Dumpty had a great fall.’, ‘1899–03–13’, 
        (SELECT id FROM author WHERE author_name = ‘Famous Anthony’));
Giamblers

Insert mysql

INSERT INTO tbl_name (col1,col2) VALUES(15,col1*2);
Marc Tolkmitt

Jawaban yang mirip dengan “Insert mysql”

Pertanyaan yang mirip dengan “Insert mysql”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya