Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select
- count(*)
- from
- `user`
- where
- (
- (
- select
- exists (
- select
- *
- from
- `ticket` `_T_c1c694bd849d`
- where
- (
- `user` = `user`.`id`
- and (
- select
- exists (
- select
- *
- from
- `user` `_T_u_d09419503c1c`
- where
- (
- `id` = `_T_c1c694bd849d`.`user`
- and (
- select
- exists (
- select
- *
- from
- `country` `_T_u_c_a91b1c284cd4`
- where
- (
- `id` = `_T_u_d09419503c1c`.`country_id`
- and (
- select
- exists (
- select
- *
- from
- `user` `_T_u_c_U_06e2ba85c546`
- where
- (
- `country_id` = `_T_u_c_a91b1c284cd4`.`id`
- and (
- select
- exists (
- select
- *
- from
- `country` `_T_u_c_U_c_f53146a9f663`
- where
- (
- `id` = `_T_u_c_U_06e2ba85c546`.`country_id`
- and (
- select
- exists (
- select
- *
- from
- `user` `_T_u_c_U_c_U_0cfa13a09292`
- where
- (
- `country_id` = `_T_u_c_U_c_f53146a9f663`.`id`
- and `name` is not null
- )
- )
- ) = 1
- )
- )
- ) = 1
- )
- )
- ) = 1
- )
- )
- ) = 1
- )
- )
- ) = 1
- )
- )
- ) = 1
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement