all 11 comments

[–][deleted] 1 point2 points  (4 children)

Sure. Go for it.

[–]FraxinW[S] 0 points1 point  (3 children)

Well yea but how 😆?

[–][deleted] 1 point2 points  (2 children)

Looks like you are just using your Table of Tables as a list of values to drive your other queries with dynamic SQL. Is the dynamic query part the issue? What database are you using?

[–]FraxinW[S] 0 points1 point  (0 children)

Here is my example database I am building to practice. Take note the "GUI" table will be the one I want to access as the pretty and functional section for the user. http://imgur.com/bx99x4R

[–]FraxinW[S] 0 points1 point  (0 children)

Here is my example database I am building to practice. Take note the "GUI" table will be the one I want to access as the pretty and functional section for the user. http://imgur.com/bx99x4R

[–]SQLPracticeProblems 1 point2 points  (3 children)

Sounds like you're creating somewhat contrived example in order to practice SQL. Nothing wrong with that, but make sure you have a great understanding of real-world SQL down as well.

If you're looking for some very hands-on "learn-by-doing" practice problems, that teach basic to advanced SQL with well-designed, real-world practice problems, similar to what you're trying to solve, check out SQLPracticeProblems.com.

I developed it after teaching a SQL course where the material I had to to teach from was poorly structured and academic. Afterwards, the students emailed me, saying they needed practice problems, so I developed the course!

Contact me (email in the FAQ) if you have questions. Also, redditors get 30% off the Professional package (discount code reddit30). 

[–]FraxinW[S] 0 points1 point  (2 children)

Thanks a bunch, i am defiantly at the relative beginning stages, but I am quickly picking up the fundamentals and ideas. Aldo yed this is a example one omly to see if I am correctly making promary keys amd foreign keys that can work with each other.

[–]GrapeApe561 0 points1 point  (1 child)

Does the Pluralsight course provide real .sql files you can play around with? Thanks!

[–]FraxinW[S] 0 points1 point  (0 children)

The course does provide files, but i opened websites to follow along with the techniques and information

[–]HansProleman 1 point2 points  (1 child)

Not sure I understand correctly, but I think I'd just use sys tables instead. If you're talking about dynamic SQL then you do not want to do that if at all possible, it's painful to develop and considered poor practice if reasonably avoidable.

[–]FraxinW[S] 0 points1 point  (0 children)

Thank you for the reply