Closed moufmouf closed 4 years ago
This PR fixes an issue with query of the type:
SELECT COUNT(*) FROM (SELECT DISTINCTstates.country_id,states.codeFROM states)
SELECT COUNT(*) FROM (SELECT DISTINCT
.
,
FROM states)
(with no alias in the subquery).
Starts with a failing test
Coverage increased (+0.7%) to 70.681% when pulling 306f4f4c3bfa5a2b00c7d230a6e91c1055a549c3 on moufmouf:fix_another_alias into 1294fd874c314fed0f0bf1cdc4f7e335d824950b on thecodingmachine:1.4.
This PR fixes an issue with query of the type:
SELECT COUNT(*) FROM (SELECT DISTINCT
states.
country_id,
states.
codeFROM states)
(with no alias in the subquery).
Starts with a failing test