0

I am new to MySQL. My question is similar to this one, but the answer given over there is based on a subquery. As a Microsoft Access user I'd like to know if you can have query definitions in your database that you can use in the joins of an sql statement, just the way you are using tables. My provider mentioned stored procedures, but after some quick research I wonder if this is the same thing. Isn't a stored procedure more like a user defined function that you can use in your sql statement?

esims
  • 327
  • 3
  • 18

1 Answers1

0

Barmar's comment here was just what I needed:

What you're looking for is views. dev.mysql.com/doc/refman/8.0/en/views.html

Wai Ha Lee
  • 8,598
  • 83
  • 57
  • 92
esims
  • 327
  • 3
  • 18