0

When I am writing a query via Sequel Pro and format it like this a.TBL_ADJUSTMENT I get the following error Table 'a.TBL_ADJUSTMENT' doesn't exist.

How can I write it so that I can label my tables with a letter/number?

Jess McKenzie
  • 8,345
  • 27
  • 100
  • 170

2 Answers2

0

Assuming you are trying to select the column my_column from the table my_table, the query you are looking for is select a.my_column from my_table as a

Aliases

cck
  • 193
  • 1
  • 14
0

Are you referring to a Table Schema:

select a.Table_name from
(select * from information_schema.`TABLES` a) as a
Vijunav Vastivch
  • 4,153
  • 1
  • 16
  • 30