JavaRush/Java Blog/Random EN/Bookmark: everything you need to know about databases and...

Bookmark: everything you need to know about databases and the SQL language - lectures, articles and videos

Published in the Random EN group
members
For the convenience of JavaRush students, we decided to collect lectures and articles about the most important topics in programming. The eleventh selection is about databases and the SQL query language. In the mini-guide, we briefly outline the essence of the articles, and if you follow the link, you can learn more about the topic of interest. Add the collection to your bookmarks and return to it when needed. Bookmark: everything you need to know about databases and the SQL language - lectures, articles and videos - 1

Articles and lectures

Introduction to SQL

This article opens a short series devoted to the basics of interacting with databases in Java and an introduction to the SQL language. Many programs are busy processing and modifying information and keeping it up to date. Since data is a very important part of program logic, separate storage is often allocated for it. Data is accessed and modified using a special query language - SQL (Structured Query Language). This article will be useful if you are just getting started with databases.

DBMS structure, tables and data types

This second part of the text is about an introduction to SQL. Here the author continues to analyze the principles of operation of databases and SQL using the example of creating a stock exchange emulator.

"Java project from A to Z": We analyze databases and the SQL language

A large series of articles about creating your own portfolio project. Naturally, he understands the various technologies with which the programmer interacts. Including databases and SQL language. The result of the articles is writing a telegram bot.

"Java project from A to Z": We analyze databases and the SQL language. Part 2

In the second part, the author focused on practice: he provides guidance on installing MySQL, writing the first lines in this language, and creating your first database. At the end you will have homework.

"Java project from A to Z": We analyze databases and the SQL language. Part 3

In the third part of the database analysis, the author talks about the SELECT operator, WHERE, ORDER BY, GROUP BY parameters. At the end, as before, homework awaits.

"Java project from A to Z": We analyze databases and the SQL language. Part 4 - checking homework

As the name implies, the entire fourth part is devoted to the analysis of homework. We recommend reading it - the task is interesting, and you might want to do it.

"Java project from A to Z": We analyze databases and the SQL language. Part 5 - connections and joins

In the fifth part, the author talks about types of connections and joins: explains what one-to-many, one-to-one, many-to-many and other concepts are.

"Java project from A to Z": We analyze databases and the SQL language. Part 6 - Checking the final task

This final article on databases covers the final homework assignment. It is interesting because it is intended for interviews at the Middle level. That is, after this task you can already go for an interview, and you will successfully pass at least part of what relates to relational databases.

Review of the book “SQL. A collection of recipes” by Anthony Molinaro

There are a huge number of book options suitable for an initial dive into SQL, but the author of this post settled on “SQL. Collection of recipes” by Anthony Molinaro. The peculiarity of the book is that in addition to studying SQL at a basic level, you will become familiar with several databases at once and see how the queries for them differ and what are the features of a particular database.

Cool SQL optimizations that do not depend on the cost model. Part 1

We offer you an adaptation of Lukas Eder's article, designed for those who have a general understanding of databases and SQL, as well as some practical experience with DBMS. It describes five simple optimizations that can be implemented based only on metadata (that is, constraints) and the query itself.

Cool SQL optimizations that do not depend on the cost model. Part 2

In Part 2, you'll learn about eliminating "meaningless" predicates and projections in EXISTS subqueries.

Cool SQL optimizations that do not depend on the cost model. Part 3

The third part of the article deals with the merging of predicates and provably empty sets.

Cool SQL optimizations that do not depend on the cost model. Part 4

The fourth part describes the limitations of CHECK and unnecessary reflexive joins.

Cool SQL optimizations that do not depend on the cost model. Part 5

The final part of the article talks about such optimization as pushing objects.

A Guide to NoSQL for Developers

If you've been following trends in backend development and Big Data, you've probably already noticed the buzz around NoSQL databases in recent years. This article talks about why they were created in the first place, what problems they solve, and why so many different databases are suddenly needed.

SQL performance problems arising from "unnecessary but required work"

Probably the most important thing you can learn to write effective SQL queries is indexing. However, in second place, very close behind, is the knowledge that many SQL clients require the database to do a lot of "unnecessary but necessary work." What this is will be discussed in this article.

Adding a PostgreSQL database to a RESTful service on Spring Boot. Part 1

A series of articles on how to create a database and connect it to a Rest application.

Adding a PostgreSQL database to a RESTful service on Spring Boot. Part 2

In the last part, we learned how to install a PostgresSQL database on a computer, create a database in pgAdmin, and also create and delete tables in it manually and programmatically. In this part, the author invites readers to rewrite the program so that it learns to work with this database and tables.

Developer interview: analysis of database questions

In this article, the author talks about one of the key topics in technical interviews - databases. It looks at the most common questions and tries to answer them without diving deep into the material.

From June's resume: Hibernate is a framework for working with databases

Hibernate is a framework that was invented to make life easier for programmers. It eliminates duplicate code and hides the code needed to manage resources, reducing errors. By working with Hibernate, the developer can focus on the business logic of the application. Essentially, Hibernate acts as an adapter when connecting an application to a database. Read the article about the demand for this framework and what projects it will be needed for.

Videos

Public interview on databases

Java development is inseparably linked with the backend. And the backend is with databases. If you don't want to face problems in a technical interview where you might be asked anything about databases, watch this Podlodka Backend Crew database test interview stream. You will learn the theory of working with databases and specific technical solutions for each of the most common databases: SQL, NoSQL, NewSQL.

Java | MongoDB in the cloud

To connect an IntelliJ IDEA project to the Amazon Web Services cloud using the MongoDB DBMS, IDE skills are not enough. In addition to the development environment, you will also have to learn how to operate the synchronous or asynchronous MongoDB driver, the MongoClient client, and learn about working with collections. This video walks you through all the necessary steps to connect a database to a Java project. In the description below the video there is a link to the project code in IntelliJ IDEA.
Comments
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet