Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. select*from vendors where vend_country like 'USA';
  2.  
  3. select*from vendors where vend_LeonAgnatio like '%p%';
  4.  
  5. select*from product where prod_id like '%p%';
  6.  
  7. select prod_name as 'Nama Produk', prod_price as 'Harga' from product;
  8.  
  9. select current_date 'Tanggal Praktikum';
  10.  
  11. select current_time as 'Jam Sekarang';
  12.  
  13. select time '08:00:00' - time '08:46:38';
  14.  
  15. select ((year(curdate())-year('2000-07-05')) - (right(curdate(),5) < right('2000-07-05',5))) as Umur;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement