A
A
Alexander2018-03-05 12:30:22
Database
Alexander, 2018-03-05 12:30:22

How to create subsections in a db table row?

There is some number of rows in the table, you need to have subsections in one row, for example:
Applicability: some parameter / some parameter / some parameter

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gleb Starkov, 2018-03-05
@AleksandrB

For this, a separate table is created.
Employees: id, name
1, Petrov
2, Ivanov
3, Sidorov
Departments: id, name
1, Technical
2, Sales
3, Tech support
Employees in departments: department_id, employee_id
1, 1
1, 2
2, 3
It turns out that Petrov and Ivanov works in the Technical Department
Sidorov works in Sales.
The relationship is called one-to-many.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question