I am putting inner join in my query.I have got the result but didn\'t know that how the data is coming in output.Can anyone tell me that how the Inner join matching the data.Bel
In SQL, the order of the output is not defined unless you specify it in the ORDER BY clause.
SQL
ORDER BY
Try this:
SELECT * FROM one JOIN two ON one.one_name = two.one_name ORDER BY one.id