Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Every Derived yable must have its own alias


/*Every derived table (AKA sub-query) must indeed have an alias. 
I.e. each query in brackets must be given an alias (AS whatever), 
which can the be used to refer to it in the rest of the outer query.
*/
SELECT ID FROM (
    SELECT ID, msisdn FROM (
        SELECT * FROM TT2
    ) AS T
) AS T
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Every #Derived #yable #alias
ADD COMMENT
Topic
Name
9+7 =