How to solve Median with GROUP BY?
Suppose the following table t1:=================| tag | val | --+ for the sake of simplicity, val is non NULL=================| a1 | v1 || a1 | v2 ||…
1 Answer · 1.2K Views · Answered ✓
Get a modern-day SQL Developer Training that will help you learn the basics of database querying, Microsoft SQL and the best-practices of Database Management to gain confidence with our Online SQL Certification and surmount a trending career field
Suppose the following table t1:=================| tag | val | --+ for the sake of simplicity, val is non NULL=================| a1 | v1 || a1 | v2 ||…
1 Answer · 1.2K Views · Answered ✓
I have a column called create date of a DateTime datatype. I want to extract data between today and yesterday. select * from table1(no lock) where…
1 Answer · 2.2K Views · Answered ✓
Here is my querySET TRANSACTION ISOLATION LEVEL SERIALIZABLE BEGIN TRAN UPDATE c SET c.Score = 2147483647 FROM dbo.Comments AS c WHERE c.Id BETWEEN 1…
1 Answer · 2.1K Views · Answered ✓
I am using Microsft SQL Server 2016. I have an SQL table with 140000 rows. It is used only for selecting data. I am trying to increase it's selection…
1 Answer · 894 Views · Answered ✓
Is it possibile to Table-Valued parameter be used as output param for stored procedure ?Here is, what I want to do in code /*First I create MY type…
1 Answer · 1.4K Views · Answered ✓
Our website has a SQL Server 2008 R2 Express Edition database with full-text indexing for our website search. Each time a new record is added or…
1 Answer · 1.4K Views · Answered ✓
We had difficulty setting up a FileTable share on a SQL 2014 instance and after giving up on trying to name it after our instance name, we left the…
1 Answer · 729 Views · Answered ✓
I am Running Microsoft Windows Server 2008 with MS SQL Server 2008 (version 10.0.5869), trying to upgrade to SQL Server 2012. Currently working in a…
1 Answer · 556 Views · Answered ✓
When connecting to a SQL Server 2008 R2 from a .NET 4 client application on a different server in the same LAN, one can set three different network…
1 Answer · 1.9K Views · Answered ✓
As I am writing a query. Column A comes from a database, column B is either 1 or -1 and it is the result of a CASE statement that looks into the same…
1 Answer · 1.2K Views · Answered ✓
I have a table that has two columns, one with the type of posting and another column with the value. Source table: +-----+-------+ |Type | Value |…
1 Answer · 1.3K Views · Answered ✓
In this question I was writing a query using sys.sysobjects. However, one of the answers mentioned sys.system_objects. I'm just wondering what is the…
1 Answer · 3.5K Views · Answered ✓
Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.
Step-by-step SQL Server guides from industry experts
Common SQL Server interview questions, answered
Guides, tips and career advice on SQL Server from JanBask experts.
SQL Server Top 75 SSAS Interview Questions and Answers For Beginners & Experts
Prepare for your SSAS interview with our comprehensive guide featuring 75 top SQL Server Analysis Services interview questions…
SQL Server How to Become a SQL Database Administrator?
How to become a sql database administrator In 2025, discover what these professionals do, explore how much they earn and learn…
SQL Server OLAP vs OLTP: Key Differences, Architectures, Performance & Real-World Examples
Compare OLTP vs OLAP with clear definitions, architecture diagrams, real-world examples, and FAQs. Learn when to use each system…
SQL Server 70+ Most Asked SSIS Interview Questions for Freshers & Experienced
Prepare for your next SQL Server Integration Services (SSIS) interview with our top 70+ SSIS interview questions and answers.…
Pick another topic to find answers, interview questions, and real-world tips.