Practies Queries

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

CREATE TABLE AA_EMPLOYEE_INFO( PIN INTEGER NOT NULL, LAST_NAME CHAR(20) NOT NULL, FIRST_NAME CHAR(20) , PASS varchar(10)

NOT NULL, GENDER CHAR(1) NOT NULL, PRIMARY KEY(PIN) ); PIN LAST_NAME FIRST_NAME PASS GENDER ---------- -------------------- -------------------- ---------- -----2021 Sullivan Joe Theman05 M 3443 Smith PassThisx7 F select PIN,LAST_NAME,GENDER from aa_employee_info; INSERT INTO aa_employee_info VALUES (2015,'Swetha','Kr','hello4','F'); select * from aa_employee_info where gender='M'; select * from aa_employee_info where pin > 3000;

select * from aa_employee_info where gender = 'M' and pin >2000 and pin < 3000; select * from aa_employee_info where gender = 'M' or pin >2000; select * from aa_employee_info where gender = 'M' order by PIN DESC;

http://www.scribd.com/doc/7523717/Informatica-Power-Center-711-Installation-Guid e-15

You might also like