Sign in
apache
/
drill-test-framework
/
b5ed55188c294aa172ccc7d30e7981884fedc8f0
/
.
/
framework
/
resources
/
Functional
/
subqueries
/
subquery_in_select
/
where_like.sql
blob: c73e9bde12e487fd5233dce6771e4af697d8ec6d [
file
] [
log
] [
blame
]
SELECT
m
.
employee_id
,
(
SELECT
sub
.
full_name
FROM
cp
.`
employee
.
json
`
as
sub
WHERE
sub
.
full_name
LIKE
'R%'
LIMIT
1
)
as
full_name
FROM
cp
.`
employee
.
json
`
as
m
WHERE
m
.
gender
LIKE
'F'
LIMIT
5
;