Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
SQL Articles - Page 5 of 12
2K+ Views
Retrieval and Update Operations When we work with files, we usually do two types of operations: retrieval and update. Retrieval operations help us find specific records in the file and look at their data. Update operations change the file by adding, removing, or modifying records. Selection Conditions To do either operation, we may need to specify a condition that the records must meet. For example, we might want to retrieve all the records where the salary is greater than or equal to $30, 000. This is called a selection condition. Selection conditions can be simple or complex. A simple condition ... Read More
9K+ Views
Offset-Fetch is feature in MS SQL Server. It helps to retrieve subset of rows from result set. It consists of two components: OFFSET and FETCH. The OFFSET clause specifies the number of rows to skip from the beginning of the result set. FETCH clause determines the number of rows to retrieve. Syntax SELECT column1, column2, ... FROM table ORDER BY column OFFSET {integer_value} {ROWS | ROWS ONLY} FETCH {FIRST | NEXT} {integer_value} {ROWS | ROWS ONLY} ONLY; Explanation of Syntax SELECT column1, column2, ...: Specifies the columns to be selected from the table. FROM table Specifies the table from ... Read More
3K+ Views
In DBMS, there are object-relational features that combine elements of object databases with SQL. SQL language is used for relational databases, and it has evolved over time. In the latest standard called SQL:2008, object features have been incorporated, although not all commercial DBMSs have implemented these features yet. Object-relational model refers to the combination of the relational model and object database enhancements. SQL has undergone revisions to include features related to XML as well. Here are some of the object database features included in SQL: Type Constructors New type constructors have been added to specify complex objects. For example, the ... Read More
318 Views
Data science may be a continually advancing field that requires an assorted set of aptitudes and instruments to keep up with the ever-changing information scene. While Python, R, and SQL are undoubtedly the foremost commonly utilized devices within the information science industry, there are a few other tools and advances that information researchers are anticipated to be capable of. In this article, we'll investigate a few of the other fundamental apparatuses that each information researcher ought to be recognizable with. Excel Excel may be an effective tool for data examination and is broadly utilized within the trading world. It ... Read More
3K+ Views
Introduction Set-based and cursor-based solutions are the two main methods of manipulating data when working with databases. Cursor-based solutions process data row by row using procedural programming structures, whereas set-based solutions process whole sets of data at once using SQL commands. The decision between the two ways depends on the requirements of the current challenge. Both have benefits and drawbacks. We will go into detail about the primary distinctions between set-based and cursor-based solutions in the essay's main body. We looked at the benefits and drawbacks of each strategy and emphasized the circumstances in which one strategy would be more ... Read More
1K+ Views
Among the most popular programming languages used today are Python and SQL, each of which offers distinct benefits and drawbacks of its own. What remains to be determined, though, is which one is simpler to learn. This article will examine the degree to which both Python and SQL are tough in order to help you decide which language best meets your needs. SQL Vs Python In the area of technology, programming languages like Python and SQL are both highly regarded. However, deciding which one is simpler to learn might be difficult. To assist you in making a wise choice, we ... Read More
781 Views
Introduction Migrating from a SQL to a NoSQL database is a significant undertaking that requires careful planning and strategizing. It's important to understand the differences between these two types of databases and to identify the specific use cases for which you will be using the NoSQL database. There are several different tools and techniques available for migrating data from a SQL to a NoSQL database, and it's important to carefully evaluate the pros and cons of each option to determine the best fit for your needs. Migrating from a SQL to a NoSQL database can be a significant undertaking and ... Read More
46K+ Views
Introduction In SQL Server, permissions are used to control access to database objects, such as tables and views. Each user in a database has a set of permissions that determine what they are able to do within the database, such as SELECT, INSERT, UPDATE, DELETE, and EXECUTE. To view the permissions that a user has been granted in a database, you can use the sys.database_permissions view. This view provides information about the permissions that have been granted or denied on database-level securables for a specific database. The sys.objects view contains information about all the objects in a database, and the ... Read More
542 Views
Introduction A SQL query is a request for data from a database. In the context of demonstrating a deletion anomaly in a table with referential integrity, a SQL query would be used to delete a record from the parent table and observe the impact on the related records in the child table. To demonstrate a deletion anomaly, we can create two tables with a foreign key constraint, insert some sample data, and then use a `DELETE` statement to delete a record from the parent table. We can then use a `SELECT` statement to retrieve the data from the child table ... Read More
260 Views
Introduction To demonstrate an addition anomaly in a referential integrity in a table, we can create a simple database with two tables: a parent table and a child table. The parent table should have a primary key column, and the child table should have a foreign key column that references the primary key column in the parent table. We can then insert some rows into both tables and run a SELECT statement on the child table that filters the results based on a column from the parent table. If we delete a row from the parent table, the result of ... Read More