# Nested SELECTs in QueryBuilder possible?

**URL:** <https://forum.servoy.com/t/nested-selects-in-querybuilder-possible/19606>\
**Category:** Classic Servoy\
**Created:** [February 19, 2018, 8:39am UTC](https://forum.servoy.com/t/nested-selects-in-querybuilder-possible/19606 "2018-02-19T08:39:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![huber](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/huber/32/5042_2.png) [@huber](https://forum.servoy.com/u/huber)\
**Post date:** [February 19, 2018, 8:39am UTC](https://forum.servoy.com/t/nested-selects-in-querybuilder-possible/19606/1 "2018-02-19T08:39:08Z")

</div>

Hi

Are nested SELECTs like the following example possible with QueryBuilder?

```auto
SELECT
	times.column_a,
	lessons.column_b
FROM (
	SELECT
		w.day_number,
		lt.start_time
	FROM
		table_x w
	INNER JOIN table_y lt
	...
	INNER JOIN table_z z
	...
	WHERE
		...
			) lessons
RIGHT OUTER JOIN table_t times
	ON ...

```

Regards, Robert
