Re: [SQL] Extraordinary Full Join

2003-04-06 Thread CN
Thank you! Josh, > You'll need to add an "sort_no" column to both tbook and thobby, and > ensure somehow that both tables have the exact same sequence of sort numbers. > Then you can: > > select tmaster.id, tmaster.name, tbook.book, thobby.hobby > from tmaster, tbook, thobbby > where tmaster.id

[SQL] Extraordinary Full Join

2003-04-05 Thread CN
Hello! postgreSQL lovers, Master table tmaster has 2 childern tables tbook and thobby. CREATE TABLE tmaster (id TEXT,name TEXT); CREATE TABLE tbook (id TEXT, book TEXT); CREATE TABLE thobby (id TEXT, hobby TEXT); INSERT INTO tmaster VALUES ('m1','John'); INSERT INTO tmaster VALUES ('m2','Mary');