vinaypaleja

Table Items (SQL)

Mar 17th, 2021 (edited)
490
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. create table ITEMS (Item_No int, Cost int);
  2. insert into ITEMS values (101, 5000);
  3. insert into ITEMS values (102, NULL);
  4. insert into ITEMS values (103, 4000);
  5. insert into ITEMS values (104, 6000);
  6. insert into ITEMS values (105, NULL);
  7. insert into ITEMS values (106, -1000);
  8. SELECT * from ITEMS;
  9.  
  10. select * from ITEMS where Cost<0;
  11.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×