left join
Hello, i have two tables, Printer and Printer_Lec
Printer records
Printer_ID
1
2
3
Printer_Lec records
Printer_ID
1
3
i need to get all the records in Printer but not in right table (Printer_lec), i have to get only one record printer_id ->'2'
select Printer.* from printer
left join Printer_lec on printer_id = printer_lec_id
where imp_cli_id = 1 and lec_fecha between '2010-12-01' and '2010-12-30'
this dont work, WHY?????
Subject
Written By
Posted
left join
December 20, 2010 07:02PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.