This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Alias syntax in FROM clause #5
Comments
Hello :-), What the SQL-2 standard says? This is our reference. |
+1 there's no reason to have parenthesis around the FROM table. |
Does it solve your issue 79dffe9? |
Yes it should. When there are two or more table in from clause, the syntax should is |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
MySql throw a SQL syntax error when using from alias on a
Select
requestwith request :
SELECT OBJ_ID FROM (OBJECTS) AS o WHERE o.OBJ_ID = '…'
Why add parenthesis on line 223 of
Hoa\Database\Query\SelectCore
? It work without.I doesn't find examples with parenthesis on MySql and MsSql.
This is the syntax from mysql.com.
FROM tbl_name [[AS] alias]
I use MySql 5.5.
PS: there is no comma added between two FORM, this is because Hoa\Database is not finalized?
The text was updated successfully, but these errors were encountered: