From: Dennis Cote <[EMAIL PROTECTED]>
> No, that's not true. A sub-query is like any other query. I have
> rearranged the query to make it more readable.
>
> select types.Track,types.URL
> from ALBUM
> inner join (select * from MUSIC where Artist_Id =?) as types
> on
dcharno wrote:
>> select types.Track,types.URL from ALBUM inner join (select * from MUSIC
>> where Artist_Id =?) types on ALBUM.AlbumId=types.Album_Id order by
>> ALBUM.YomiAlbumName ;
>
> How does the subquery work in this statement? I thought subqueries
> could only retrieve a single column.
> select types.Track,types.URL from ALBUM inner join (select * from MUSIC
> where Artist_Id =?) types on ALBUM.AlbumId=types.Album_Id order by
> ALBUM.YomiAlbumName ;
How does the subquery work in this statement? I thought subqueries
could only retrieve a single column.
Hi,
I am having 4 records in my database.
I am using Joins method.
My Table Looks like:
"PRAGMA encoding = UTF16;"
"CREATE TABLE ALBUMARTIST (AlbumArtistId INTEGER PRIMARY KEY NOT NULL,
AlbumArtistName TEXT NOT NULL COLLATE NOCASE, YomiAlbumArtistName TEXT NOT
NULL, UNIQUE
4 matches
Mail list logo