SELECT * FROM table1 LEFT JOIN table2 on table1.id = table2.id
More Related Contents:
- Recreating a query using INNER JOIN? [duplicate]
- What’s the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN and FULL JOIN? [duplicate]
- Mixing ANSI 1992 JOINs and COMMAs in a query
- MySQL: Inner join vs Where [duplicate]
- MySQL INNER JOIN select only one row from second table
- MySQL pivot row into dynamic number of columns
- Rank function in MySQL
- Count the number of occurrences of a string in a VARCHAR field?
- mysql Foreign key constraint is incorrectly formed error
- Unknown Column In Where Clause
- Storing JSON in database vs. having a new column for each key
- MySQL query String contains
- Groupwise maximum
- Best data type for storing currency values in a MySQL database
- Entity-Attribute-Value Table Design
- How do I decide when to use right joins/left joins or inner joins Or how to determine which table is on which side?
- Filter by COUNT(*)?
- How to select rows that have current day’s timestamp?
- MySQL concatenation operator
- SQL Group By with an Order By
- How create json format with group-concat mysql?
- MySql – Way to update portion of a string?
- Using reserved words in column names
- Storing IPv6 Addresses in MySQL
- What is the difference between SQL and MySQL? [closed]
- how to use a like with a join in sql?
- Get total hours worked in a day mysql
- Strip last two characters of a column in MySQL
- What happens when I exhaust a bigint generated key? How to handle it?
- is there a length limit to group_concat or another reason why it would not work on a text field