Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Join question:

select * from books join authors on books.author_id=authors.id

Now you get the fields from each table in your result matched up correctly.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: