Grokking SQL for Tech Interviews
Ask Author
Back to course home

0% completed

26. Unused Accounts
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Problem

Table: Accounts

+---------------+---------+
| Column Name   | Type    |
+---------------+---------+
| account_id    | int     |
| account_name  | varchar |
+---------------+---------+
account_id is the primary key (column with unique values) for this table.
Each row of this table contains the ID and the name of an account in the bank.

Table: Transactions

+---------------+---------+
| Column Name   | Type    |
+---------------+---------+
| transaction_id| int     |
| account_id    | int     |
| transaction_date | date |
+---------------+---------+

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible