Commit da114c70 authored by Sergei Golubchik's avatar Sergei Golubchik

fix for --view-protocol

parent a6874341
......@@ -586,14 +586,10 @@ select
concat(id, '-', key1, '-', col1)
FROM t2
WHERE t2.key1 = t1.a
ORDER BY t2.key2 ASC LIMIT 1)
ORDER BY t2.key2 ASC LIMIT 1) as subq
from
t1;
(SELECT
concat(id, '-', key1, '-', col1)
FROM t2
WHERE t2.key1 = t1.a
ORDER BY t2.key2 ASC LIMIT 1)
subq
100-0-123456
101-1-123456
102-2-123456
......
......@@ -594,7 +594,7 @@ select
concat(id, '-', key1, '-', col1)
FROM t2
WHERE t2.key1 = t1.a
ORDER BY t2.key2 ASC LIMIT 1)
ORDER BY t2.key2 ASC LIMIT 1) as subq
from
t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment