This is a discussion on Brief Idea Needed within the MySQL forums, part of the Database category; I want to know about inner joins and try my hands on that, Can someone explain in detail about inner ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
In MySQL, CROSS JOIN is a syntactic equivalent to INNER JOIN
In standard SQL, they are not equivalent. INNER JOIN is used with an ON clause, CROSS JOIN is used otherwise. INNER JOIN and , (comma) are semantically equivalent in the absence of a join condition: both produce a Cartesian product between the specified tables (that is, each and every row in the first table is joined to each and every row in the second table). If u have any further queries after going thru this u r free 2 ask nytime! |
|
|||
|
Using the inner join you can join two tables and get the rows of the two tables which satisfy the given condition given as predicate. One sample of using inner join in update query is given below for you to have a brief understanding on the concept of inner join.
update x set column1 = y.columnc, column2 = 'X' from tablename1 x inner join tablename2 y on x.columnname = y.columnname |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Idea Needed | Adrian | Java | 1 | 10-20-2008 04:20 PM |
| What Permission Needed | sammy | Linux | 1 | 05-19-2007 04:33 PM |
| Idea needed about this Course | priyaraji | General | 1 | 04-11-2007 04:06 AM |
| Idea Needed about Clustered Environment | caradoc | Java | 1 | 04-07-2007 09:45 AM |
| Is Idea Needed | Ralph | Linux | 3 | 03-13-2007 11:27 PM |