Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.
all i know about data is that there is columns and rows like below, and when you search for something for example height of 20cm it will show row 1 and 2 but i don't understand how to save the data, where to save it, what code you use to save it or how to filter through the data from code.
if anyone could explain it to me it would help a lot.

rowHeightLengthWidth
120cm20cm15cm
220cm12cm14cm
360cm16cm28cm
 
Last edited by a moderator:
Are you talking about databases?

If using a relational database (which I assume you are referring to because you included a table), you'll probably have to use SQL.

So to select all rows from the table where the height is 20cm, do something like this (assuming the table name is Dimensions):
SQL:
SELECT * FROM Dimensions
WHERE Height = "20cm";
 
Last edited:
From like my limited knowledge of databases, you will also need a backend language like C, PHP, or Node.js Javascript. Things may depend on what type of database you are using. According to what I know there are normally primary keys and secondary keys. Primary keys are like main identifiers for that thing in database. Other things may be found by either searching by primary keys or for data directly. I am kind of a layman myself but maybe this helps.
X E.
 
Are you talking about databases?

If using a relational database (which I assume you are referring to because you included a table), you'll probably have to use SQL.

So to select all rows from the table where the height is 20cm, do something like this (assuming the table name is Dimensions):
SQL:
SELECT * FROM Dimensions
WHERE Height = "20cm";
do i just use notepad or excel to save data or are there better places to use
 
do i just use notepad or excel to save data or are there better places to use
Depends on what your application needs are. Sure, you can store data in a text file, in JSON format. Sure, you can excel sheet. Sure, you can use languages like SQL/MySQL to store the data in a relational database. The question here is: What is the right database for my application? What database will make things easier for my application? What are the limitations, if any, to keep in mind? What are the security risks of using this database over another?
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom