Jakeukalane

insert load data

Jun 17th, 2022 (edited)
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. load data local infile 'C:/ProgramData/MySQL/MySQL Server 8.0/Uploads/bk/comercio.txt'
  2. into table comercio
  3. fields terminated by ';' enclosed by '"'
  4. lines terminated by '\r\n';
  5.  
  6. INSERT INTO fabricante (nombre, pais) values
  7. ("Oracle", "Estados Unidos"),
  8. ("Microsoft", "Estados Unidos"),
  9. ("IBM", "Estados Unidos"),
  10. ("Dinamic", "España"),
  11. ("Borland", "Estados Unidos"),
  12. ("Symantec", "Estados Unidos");
  13.  
  14. CREATE VIEW vista7 AS
  15. SELECT DISTINCT jugad
Add Comment
Please, Sign In to add comment