
SQL | LeetCode 1907. Salary 범주별 계좌 수 세기 (UNION vs. UNION ALL)
·
Computer Science/SQL
Table: Accounts+-------------+------+| Column Name | Type |+-------------+------+| account_id | int || income | int |+-------------+------+account_id is the primary key (column with unique values) for this table.Each row contains information about the monthly income for one bank account. Write a solution to calculate the number of bank accounts for each salary category. The salary catego..