select * from `users` where `type` = ? or `referral_code` is not nullselect * from `settings` where `created_by` = ?select * from `settings` where `created_by` = ?select * from `settings` where `created_by` = ? select * from information_schema.tables where table_schema = ? and table_name = ? and table_type = 'BASE TABLE'select * from `settings` where `created_by` = ?select `full_name`, `code` from `languages` select * from `settings` where `created_by` = ?select * from `settings` where `created_by` = ?select * from `users` where `type` = ? limit 1select `value`, `name` from `settings` where `created_by` = ?select * from `settings` where `created_by` = ?select * from `settings` where `created_by` = ?select * from `settings` where `created_by` = ?