SQLite - sorting question -
I am using the following query to display database rows in an alphabetical order:
SELECT
, but I want to get the value from Table 2, where I do not have the column "word" and it is from the column "word" To sort which table is in 1.
I want something like this:
SELECT SELECT_ID table 1 from ORDER from Table 2. ASC Thank you in advance.
You need to add two tables to join:
SELECT T2.word_id to Table 2 T2, Table 1 T1 WHERE t2.word_id = t1.word_id - this includes ORDER BY t1.word ASC
Comments
Post a Comment