You are on page 1of 1

INSERT

INTO `agenti`(`cod_agent`, `nume_agent`, `zona_lucru`, `comision`, `numar_telefon`, `tara`)

VALUES ("A033","Ionescu Gigel","Timis","0.19","0732.088.090","Romania");

INSERT

INTO `clienti`(`cod_client`, `nume_client`, `oras_client`, `regiune_client`, `tara_client`, `nivel_client`,


`telefon_client`, `cod_agent`)

VALUES ("C025","Ionescu Florin","Lugoj","Timis","Romania","2","0731.098.076","A032"),

("C026","Popovici Gabriel","Lugoj","Timis","Romania","1","0736.198.276","A034");

INSERT

INTO `comenzi`(`cod_comanda`, `valoare_comanda`, `valoare_avans`, `data_comanda`, `cod_client`,


`cod_agent`, `descriere_comanda`)

VALUES ("567892","1235.25","345.12","2021-04-06","C025","A032","Electrocasnice"),

("567992","935.27","145.14","2021-04-05","C026","A034","Electronice"),

("568001","2395.32","1145.24","2021-04-07","C027","A033","Imprimanta");

SELECT COUNT(*)

FROM actor

WHERE first_name LIKE "V%" AND last_name LIKE "M%";

You might also like