RienSQL
TASK #129 · Medium · GlowByte

Contract numbers for companies with SBER in name

Your brief
Given a database with information about companies and their contracts. The Company table stores company information, the Contract table stores contract information, the Company_contract table stores relations between companies and their contracts.

Find contract numbers (contract_number) for companies whose name (company_name) contains 'SBER'.
Expected columnscontract_numberGlowByte
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
Companycompany_id, company_name
Contractcontract_id, contract_number
Company_contractcompany_id, contract_id