SetOperations - s select grade from dbst651_students union...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
drop table itec640_students; d select * from dbst651_students; s create table itec640_students as (select * from dbst651_students where rownum<5); r desc itec640_students; d select * from itec640_students; s insert into itec640_students (studentid, firstname, lastname, birthday, grade) values (5, 'George', 'Bush', To_date('11/02/1977', 'MM/DD/YYYY'), 'C'); v select * from itec640_students; s select * from dbst651_students minus select * from itec640_students; s select * from itec640_students minus select * from dbst651_students; select * from dbst651_students union select * from itec640_students;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: s select grade from dbst651_students union select * from itec640_students; s select grade from dbst651_students union select birthday from itec640_students; s select firstName, substr(lastname, 1, 2) from dbst651_students union select firstName, lastName from itec640_students; s select * from dbst651_students union all select * from itec640_students; s select * from dbst651_students intersect select * from itec640_students; s select * from itec640_students intersect select * from dbst651_students;...
View Full Document

This note was uploaded on 12/22/2009 for the course DBST DBST 651 taught by Professor Yelena - ta during the Spring '09 term at MD University College.

Ask a homework question - tutors are online