I have a `table_1`

```
A D G
B E H
C F I

```

I print the column 1 of the above table using `awk '{print $1}' table_1` to get `list_1`

```
A
B
C

```

I want to use `list_1` above to `grep -f` from `table_2`

```
A n m
B m n
C n m
D m n
E n m

```

to get `table_3`

```
A n m
B m n
C n m

```

but I want to do it using a one-liner, not needing to save an intermediate file of `list_1`.

How can I structure the command?