Questions tagged [relationships]

Relationships refer to mappings between elements of one set to another set, such as one-to-one, one-to-many, many-to-many.

Relationships can be implicit or explicit depending upon the data model.

Types of relationships

References

832 questions
-2
votes
2 answers

How to enter multiple foreign keys to one column

Hi I am making a restaurant management system for an assignment and I have a customer table, item table and order table. I want to enter the customer ID and the item ID to the order table when a customer places an order. My question is how to handle…
-2
votes
2 answers

How to implement the class - Student relationship in c#?

I want to implement a system, which represents a ClassRoom- Student relationship. I want to impose the constraint that Each ClassRoom can have any number of students, but one student can be at only one ClassRoom. I have created two classes -…
-2
votes
2 answers

displaying all table data mysql

I have 6 tables which all contain student information. table names: student details, doctor details, admission details, previous_school, fathers details, mothers details. each of these tables contain an unique ID. To bring all these tables into…
-3
votes
1 answer

Visualise relationships between CSV file and custom datastructure

I'm working on an application where I need to map fields in one CSV file to fields in a data structure defined by the application. I'd thought of different ways of doing this, but the method that I like the best is the one where I would have a…
sbrattla
  • 5,274
  • 3
  • 39
  • 63
-3
votes
2 answers

Passing Array Value in Laravel View

Can you help me how can I solve this.. I am trying to display the values from the foreach array.. Relationship makes me more complicated to understand so I opt to do it on my way. It displays an error of like this Property [pic] does not exist on…
EasyWay
  • 365
  • 1
  • 5
  • 20
-3
votes
1 answer

Double Entry System

System has many users belongs to a company. Admin user of the company can entry customers and each customer may have invoices with payment amount. The customer invoice amount need to be paid and should be inserted in double entry system in…
ani0904071
  • 362
  • 2
  • 11
-5
votes
1 answer

Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST) in laravel 5.4 and it's not duplicated

So, guys, this is the error I am getting in my project. Parse error: syntax error, unexpected end of the file, expecting function (T_FUNCTION) or const (T_CONST) https://i.stack.imgur.com/n2Tf0.jpg code for video model:-
Dheeraj Sharma
  • 1
  • 1
  • 1
  • 3
1 2 3
55
56