SELECT * FROM tb_product LIMIT 0,5
SELECT * FROM tb_product LIMIT 5,5
SELECT * FROM tb_product
INNER JOIN tb_product_category ON tb_product.id = tb_product_category.product_id
INNER JOIN tb_category ON tb_category.id = tb_product_category.category_id
SELECT * FROM tb_product
INNER JOIN tb_product_category ON tb_product.id = tb_product_category.product_id
INNER JOIN tb_category ON tb_category.id = tb_product_category.category_id
LIMIT 0,5
SELECT * FROM tb_product WHERE id IN (1,2,3,4,5)
SELECT * FROM tb_product
INNER JOIN tb_product_category ON tb_product.id = tb_product_category.product_id
INNER JOIN tb_category ON tb_category.id = tb_product_category.category_id
WHERE tb_product.id IN (1,2,3,4,5)
forked from devsuperior/aulao_nmais1
-
Notifications
You must be signed in to change notification settings - Fork 0
RicardoPNascimento/aulao_nmais1
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Evitando probleas n+1 consultas utilizando JPQL e EntityGraph.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 100.0%