35 questions for “SQL Queries”

Found in 1 field. Select a question to see its full answer.

Information Technology

35 questions in 5 technologies

#QuestionTechnologyTopicLevel
1How do you configure and use raw SQL queries alongside LINQ in EF Core when a complex query is difficult or inefficient to express in LINQ? .NET › Entity Framework Core & Data Access.NETEntity Framework Core & Data AccessIntermediate
2How should a team decide between using an ORM like Eloquent or Doctrine versus writing raw SQL queries directly for a specific, particularly complex or performance sensitive part of an application? PHP › Eloquent ORM & Doctrine ORMPHPEloquent ORM & Doctrine ORMAdvanced
3What is a subquery in SQL Server, and how is it typically used within a larger query? SQL Server › SubqueriesSQL ServerSubqueriesBeginner
4How does Sequelize define models and relationships for a relational (SQL) database in Node.js? Node.js › Databases & ORMs (MongoDB/Mongoose, SQL/Sequelize)Node.jsDatabases & ORMs (MongoDB/Mongoose, SQL/Sequelize)Intermediate
5How do you create an Extended Events session to capture specific long running queries on a production server? SQL Server › SQL Server Profiler & Extended EventsSQL ServerSQL Server Profiler & Extended EventsIntermediate
6What are common mistakes developers make when writing subqueries that can lead to incorrect results or poor performance? SQL Server › SubqueriesSQL ServerSubqueriesIntermediate
7How does the SQL Server query optimizer typically handle and potentially transform a subquery internally when generating an execution plan? SQL Server › SubqueriesSQL ServerSubqueriesAdvanced
8What is an index in SQL Server, and how does it help speed up queries? SQL Server › IndexesSQL ServerIndexesBeginner
9What is a user defined function in SQL Server, and why would you create one instead of repeating the same logic in multiple queries? SQL Server › User Defined FunctionsSQL ServerUser Defined FunctionsBeginner
10How does SQL Server compile and cache execution plans for stored procedures, and how does this affect performance compared to ad hoc queries? SQL Server › Stored Procedures & FunctionsSQL ServerStored Procedures & FunctionsAdvanced