Composing a complex SQL request
The table1
Structure: (id, table2_id, user_id)
The table2
Structure: (table2_id and title)
Conditions are:
1) Write a SQL query that combines table1 and table2 to 'table2_id', where user_id = 0
2) In table1 may be several identical table2_id. We need to eliminate repetitions from the sample, we need unique results.
3) Because in table1 there may be several identical table2_id, a new condition, more complex, arises:
If table1 has a table2_id with user_id != 0, then no one table with the same table2_id should come into the sample.
Client's review of cooperation with freelancer
Composing a complex SQL requestThank you for cooperation
Freelancer's review of cooperation with Vladislavs Sipov
Composing a complex SQL requestТолько хорошие впечатления от работы с Вячеславом. Надеюсь поработаем еще.
![]()
-
Могу здесь все написать сразу же все решения. Или етого нельзя делать ?
-
Current freelance projects in the category Databases & SQL
Python/CAD Developer for automatic processing of DXF
178 USD
Development of a module for automatic labeling of parts in DXF for laser cutting is needed. Input data: - We use BAS for production accounting. - Laser cutting is performed on Senfeng with CypCut software. - We have ready layout files in DXF format. - Each part must receive a… Python, Databases & SQL ∙ 43 minutes back ∙ 9 proposals |
Refinement of 1C UT 11 for Zebra TSD (RDP): different sound signals when scanning
22 USD
Configuration: 1C UT 11 Address warehouse Zebra TC26 TSD Work via RDP Product scanning is performed in receiving, placement, picking documents, and other warehouse operations. Current problem: Warehouse workers operate through the Zebra TSD. When scanning, they do not always… C#, Databases & SQL ∙ 12 hours 21 minutes back ∙ 4 proposals |
Heal the 1C configuration
111 USD
Configuration of CRM & ERP SmartCeiling (2.8.26.0) Protection via Registration Code. Registered until the end of the year. Databases & SQL ∙ 1 day 3 hours back ∙ 7 proposals |
Need a 1C specialist for refinements and development.I am looking for a 1C specialist for freelance collaboration. I am currently working with a contractor who provides support and maintenance for the 1C system. However, due to the contractor's workload, there is a need for prompt execution of additional tasks, improvements, and… Databases & SQL ∙ 6 days 2 hours back ∙ 12 proposals |
Restoring Instagram after a banOn March 3, 2026, my Instagram was blocked due to a violation of rules. I believe there has been some mistake, as the page was personal with photos and videos of my personal trips. I did not post any comments anywhere. I have sent several appeals. I cannot download my files… Databases & SQL, Web Programming ∙ 6 days 13 hours back ∙ 6 proposals |