You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following SQL works in MySQL, but dolt returns the error Not unique table/alias: TableAlias.
use db;
CREATETABLEa (id int, name varchar(10));
CREATETABLEb (id int, name varchar(10));
EXPLAIN
SELECT*FROM a
WHERE (EXISTS
(SELECT*FROM b TableAlias
WHERE (TableAlias.name='homer'ANDTableAlias.id=a.id)
LIMIT1)
AND EXISTS
(SELECT*FROM b TableAlias
WHERE (TableAlias.name='marge'ANDTableAlias.id=a.id)
LIMIT1));
error on line 6 for query
EXPLAIN
SELECT *
FROM a
WHERE (EXISTS
(SELECT *
FROM b TableAlias
WHERE (TableAlias.name = 'homer'
AND TableAlias.id = a.id)
LIMIT 1)
AND EXISTS
(SELECT *
FROM b TableAlias
WHERE (TableAlias.name = 'marge'
AND TableAlias.id = a.id)
LIMIT 1)): Not unique table/alias: TableAlias
Not unique table/alias: TableAlias
The text was updated successfully, but these errors were encountered:
The following SQL works in MySQL, but dolt returns the error
Not unique table/alias: TableAlias
.MySQL output:
Dolt error output:
The text was updated successfully, but these errors were encountered: