কোয়েরি নকশা

কোয়েরি নকশা প্রদর্শন আপনাকে ডাটাবেস তৈরি এবং সম্পাদনা করতে অনুমোদন করে।

এই নির্দেশাবলীতে সন্নিবেশ করতে...

In a database file window, click the Queries icon, then choose Edit - Edit.


নোট আইকন

অধিকাংশ ডাটাবেস আপনার কম্পিউটারে রেকর্ড প্রদর্শন করার জন্য ডাটাবেস সারণি পরিশ্রুত বা বাছাই করতে কোয়েরি ব্যবহার করে। প্রদর্শন কোয়েরির মতো একই কার্যক্রমাদি ব্যবহার করে, কিন্তু সার্ভার পার্শ্বে। আপনার ডাটাবেস যদি সার্ভার পার্শ্বের হয় যা প্রদর্শন সমর্থন করে, প্রদর্শনের সময় গতিশীল করতে আপনি সার্ভারে রেকর্ড পরিশ্রুত করতে প্রদর্শন ব্যবহার করতে পারেন।


নোট আইকন

ডাটাবেস নথির সারণি হতে নতুন তৈরি করুন নির্দেশ নির্বাচন করছে, আপনি প্রদর্শন নকশা উইন্ডো দেখেন যা এখানে বর্ণনাকৃত কোয়েরি নকশা এর উইন্ডোর সদৃশ্য হয়।


কোয়েরি নকশা উইন্ডো বহির্বিন্যাস তৈরি কোয়েরির সাথে সংরক্ষিত, কিন্তু তৈরি প্রদর্শনের সাথে সংরক্ষণ করা যায় না।

নকশা প্রদর্শন

কোয়েরি তৈরি করতে, ডাটাবেস নথিতে কোয়েরি আইকনে ক্লিক করেন, তারপর নকশা প্রদর্শনে কোয়েরি তৈরি করুন এ ক্লিক করুন।

The lower pane of the Design View is where you define the query. To define a query, specify the database field names to include and the criteria for displaying the fields. To rearrange the columns in the lower pane of the Design View, drag a column header to a new location, or select the column and press +arrow key.

কোয়েরির নকশা প্রদর্শন উইন্ডোর শীর্ষে, কোয়েরির নকশা বারের এবং নকশা বারের আইকন প্রদর্শিত হয়।

আপনি যদি একটি কোয়েরি যাচাই করতে চান, ডাটাবেস নথিতে কোয়েরির নামে ডাবল ক্লিক করুন। কোয়েরির ফলাফল ডাটা উৎসের প্রদর্শনের মতো একই সারণিতে প্রদর্শিত হয়। নোট: সারণিটি শুধুমাত্র অস্থায়ীভাবে প্রদর্শিত হয়।

কোয়েরি নকশা প্রদর্শনের কী

কী

ফাংশন

F4

প্রাকবীক্ষণ

F5

কোয়েরি চালান

F7

সারণি বা কোয়েরি যুক্ত করুন


ব্রাউজ করুন

When you open the query design for the first time, you see a dialog in which you must first select the table or query that will be the basis for your new query.

ক্ষেত্রসমূহ কোয়েরিয় সংযুক্ত করতে তাতে ডাবল ক্লিক করুন। সম্পর্ক নির্ধারণ করতে টানুন-এবং-ছাড়ুন।

নোট আইকন

কোয়েরি ডিজাইন করার সময়ম আপনি নির্বাচিত সারণি পরিবর্তন করতে পারেন।


সারণি অপসারণ করুন

নকশার প্রদর্শন হতে সারণি অপসারণ করতে, সারণি উইন্ডোর ঊর্ধ্ব সীমানায় ক্লিক করুন এবং প্রসঙ্গ তালিকা প্রদর্শন করুন। নকশার প্রদর্শন হতে সারণি অপসারণ করতে মুছুন নির্দেশ ব্যবহার করুন। অন্য একটি পছন্দ হলো মুছুন কী চাপুন।

সারণি সরান এবং সারণির আকার পরিবর্তন করুন

আপনি আপনার প্রাধিকার অনুসারে সারণি পুনঃআকার এবং সাজাতে পারেন। সারণি সরাতে, উদ্দিষ্ট স্থানের দিকে ঊর্ধ্ব সীমানা টানুন। মাউসের কার্সার সীমানার বা কোণার উপরে অবস্থিতকরণের মাধ্যমে সারণিটি যে আকারে প্রদর্শিত হয় সে পরিমাণে বৃদ্ধি বা হ্রাস করুন এবং সারণিটি উদ্দিষ্ট আকারে না আসা পর্যন্ত টানুন।

সারণির সম্পর্ক

যদি একটি সারণির ক্ষেত্রের নাম এবং অন্য সারণির ক্ষেত্রের নামের মধ্যে ডাটা সম্পর্ক থাকে, আপনি আপনার কোয়েরির জন্য এই সম্পর্কগুলো ব্যবহার করতে পারেন।

If, for example, you have a spreadsheet for articles identified by an article number, and a spreadsheet for customers in which you record all articles that a customer orders using the corresponding article numbers, then there is a relationship between the two "article number" data fields. If you now want to create a query that returns all articles that a customer has ordered, you must retrieve data from two spreadsheets. To do this, you must inform LibreOffice about the relationship which exists between the data in the two spreadsheets.

To do this, click a field name in a table (for example, the field name "Item-Number" from the Customer table), hold down the mouse button and then drag the field name to the field name of the other table ("Item-Number" from the Item table). When you release the mouse button, a line connecting the two fields between the two table windows appears. The corresponding condition that the content of the two field names must be identical is entered in the resulting SQL query.

আপনি যদি যৌক্তিক ডাটাবেসের জন্য ইন্টারফেস হিসেবে LibreOffice ব্যবহার করুন তবে কতিপয় সম্পর্কিত শীট ভিত্তিক কোয়েরির সৃষ্টি সম্ভব হতে পারে।

নোট আইকন

আপনি একটি কোয়েরিতে বিভিন্ন ডাটাবেসের সারণি ব্যবহার করতে পারেন না। বহুবিধ সারণি অন্তর্ভুক্ত করে কোয়েরি শুধুমাত্র একটি ডাটাবেসের ভিতরে তৈরি করা যেতে পারে।


Specifying the relation type

If you double-click on the line connecting two linked fields or call the menu command Insert - New Relation, you can specify the type of relation in the Relations dialog.

বিকল্পভাবে, রেখা নির্বাচিত না হওযা পর্যন্ত ট্যাব চাপুন, তারপর প্রসঙ্গ তালিকা প্রদর্শন করতে Shift+F10 চাপুন এবং সেখানে সম্পাদনানির্দেশ পছন্দ করুন। কিছু ডাটাবেস শুধুমাত্র সম্ভাব্য সংযুক্তের ধরনের উপসেট সমর্থন করে।

সম্পর্ক মুছে ফেলছে

দুটি সারণির মধ্যকার সম্পর্ক মুছে ফেলতে, সংযোগ রেখায় ক্লিক করুন এবং মুছুন কী চাপুন।

বিকল্পভাবে, সম্পর্ক-এর সংলাপের অন্তর্ভুক্ত ক্ষেত্র-এর নিজ নিজ এন্ট্রি মুছে ফেলুন। বা ট্যাব চাপুন যতক্ষণ পর্যন্ত না প্রদর্শিত সংযুক্তরণ ভেক্টর উজ্জ্বলকৃত হয়, তারপর প্রসঙ্গ তালিকা খুলতে Shift+F10 চাপুন এবং মুছুন নির্দেশ নির্বাচন করুন।

Defining the query

কোয়েরি নির্ধারণ করতে শর্ত নির্বাচন করুন। নকশা সারণির প্রতিটি কলাম কোয়েরির জন্য ডাটা ক্ষেত্র গ্রহণ করে। একই সারির শর্ত বুলিয়ান AND দ্বারা সংযুক্ত।

Specifying field names

First, select all field names from the tables that you want to add to the query. You can do this either by drag-and-drop or by double-clicking a field name in the table window. With the drag-and-drop method, use the mouse to drag a field name from the table window into the lower area of the query design window. As you do this, you can decide which column in the query design window will receive the selected field. A field name can also be selected by double-clicking. It will then be added to the next free column in the query design window.

ক্ষেত্রের নাম মুছে ফেলছে

কোয়েরি হতে ক্ষেত্রের নাম অপসারণ করতে, ক্ষেত্রের কলাম শিরোনামে ক্লিক করুন এবং কলামর জন্য প্রসঙ্গ তালিকার মুছুন নির্দেশ পছন্দ করুন।

Saving the query

Use the Save icon on the Standard toolbar to save the query. You will see a dialog that asks you to enter a name for the query. If the database supports schemas, you can also enter a schema name.

রুপরেখা

রুপরেখার এমন একটি নাম সন্নিবেশ করান যা কোয়েরি বা সারণি প্রদর্শনে বরাদ্দ করা হয়েছে।

কোয়েরির নাম বা সারণি প্রদর্শনের নাম

কোয়েরির নাম বা সারণি প্রদর্শনের নাম সন্নিবেশ করান।

পরিশ্রতকরণ ডাটা

To filter data for the query, set the desired criteria in the lower area of the query design window. The following options are available:

ক্ষেত্র

Enter the name of the data field that is referred to in the Query. All settings made in the filter option rows refer to this field. If you activate a cell here with a mouse click you'll see an arrow button, which enables you to select a field. The "Table name.*" option selects all data fields with the effect that the specified criteria will be applied to all table fields.

উপনাম

Specifies an alias. This alias will be listed in the query instead of the field name. This makes it possible to use user-defined column labels. For example, if the data field is named PtNo and, instead of that name, you would like to have PartNum appear in the query, enter PartNum as the alias.

In a SQL statement, aliases are defined as follows:

SELECT কলাম AS উপনাম FROM সারণি।

উদাহরণ স্বরূপ:

SELECT "PtNo" AS "PartNum" FROM "Parts"

সারণি

The corresponding database table of the selected data field is listed here. If you activate this cell with a mouse click, an arrow will appear which enables you to select a different table for the current query.

ক্রমসজ্জিত করুন

If you click on this cell, you can choose a sort option: ascending, descending and unsorted. Text fields will be sorted alphabetically and numerical fields numerically. For most databases, administrators can set the sorting options at the database level.

দৃশ্যমান

If you mark the Visible property for a data field, that field will be visibly displayed in the resulting query. If you are only using a data field to formulate a condition or make a calculation, you do not necessarily need to display it.

বৈশিষ্ট্য

Specifies a first criteria by which the content of the data field is to be filtered.

বা

Here you can enter one additional filter criterion for each line. Multiple criteria in a single column will be interpreted as boolean OR.

You can also use the context menu of the line headers in the lower area of the query design window to insert a filter based on a function:

ফাংশন

The functions which are available here depend on those provided by the database engine.

If you are working with the embedded HSQL database, the list box in the Function row offers you the following options:

পছন্দ

SQL

প্রভাব

কোনো ফাংশন নেই

কোনো ফাংশন কার্যকর হবে না।

গড়

AVG

ক্ষেত্রের গাণিতিক গড় গণনা করে।

গণনা করুন

COUNT

Determines the number of records in the table. Empty fields can either be counted (a) or excluded (b).

a) COUNT(*): আর্গুমেন্ট হিসেবে প্রেরিত তারকা চিহ্ন সারণির সকল রেকর্ড গণনা করে।

b) COUNT(column): Passing a field name as an argument counts only the records in which the specified field contains a value. Records in which the field has a Null value (i.e. contains no textual or numeric value) will not be counted.

সর্বোচ্চ

MAX

Determines the highest value of a record for that field.

সর্বনিম্ন

MIN

Determines the lowest value of a record for that field.

মোট

SUM

Calculates the sum of the values of records for the associated fields.

গ্রুপ

GROUP BY

Groups query data according to the selected field name. Functions are executed according to the specified groups. In SQL, this option corresponds to the GROUP BY clause. If a criterion is added, this entry appears in the SQL HAVING sub-clause.


আপনি SQL বিবৃতিতে সরাসরি ফাংশনের কল সন্নিবেশ করাতে পারেন। সিনট্যাক্স হলো:

SELECT FUNCTION(কলাম) FROM table।

উদাহরণ স্বরূপ, সমষ্টি গণনা করার জন্য ফাংশন SQL-এ কল করে যা:

SELECT SUM("Price") FROM "Article"।

Except for the Group function, the above functions are called Aggregate functions. These are functions that calculate data to create summaries from the results. Additional functions that are not listed in the list box might be also possible. These depend on the specific database engine in use and on the current functionality provided by the Base driver used to connect to that database engine.

To use other functions not listed in the list box, you must enter them manually under Field.

You can also assign aliases to function calls. If you do not want to display the query string in the column header, enter a desired substitute name under Alias.

একটি SQL বিবৃতির সংশ্লিষ্ট ফাংশন হলো:

SELECT FUNCTION() AS alias FROM table

উদাহরণ:

SELECT COUNT(*) AS count FROM "Item"

নোট আইকন

If you run such a function, you cannot insert any additional columns for the query other than as an argument in a "Group" function.


উদাহরণ

নিম্নবর্ণিত উদাহরণে, একটি কোয়েরি দুইটি সারণির মধ্যে চালানো হয়: "Item_No" ক্ষেত্র যুক্ত "Item" সারণি এবং "Supplier_Name" ক্ষেত্র যুক্ত "Suppliers" সারণির। তদুপরি, উভয় সারণির একটি সাধারণ "Supplier_No." ক্ষেত্র নাম আছে

তিনের অধিক বিষয়োপকরণ বিতরণ করে এমন সব সরবরাহকারী ধারণকারী কোয়েরি তৈরি করতে নিম্নবর্ণিত ধাপসমূহ প্রয়োজন।

  1. কোয়েরি নকশায় "বিষয়োপকরণ" এবং "সরবরাহকারী" সারণি সন্নিবেশ করান।

  2. দুটি সারণির "Supplier_No" ক্ষেত্র সংযুক্ত করুন যদি তাদের মধ্য এই ধরনের সম্পর্ক বিদ্যমান না থাকে।

  3. Double-click on the "Item_No" field from the "Item" table. Display the Function line using the context menu and select the Count function.

  4. মানদন্ড হিসেবে >৩ সন্নিবেশ করান এবং দৃশ্যমান ক্ষেত্র নিস্ক্রিয় করুন।

  5. "Suppliers" সারণিতে "Supplier_Name" ক্ষেত্রে ডাবল ক্লিক করুন এবং গ্রুপ ফাংশন পছন্দ করুন।

  6. কোয়েরি চালান।

যদি "Item" সারণিতে "price" (অনুচ্ছেদের পৃথক মূল্যের জন্য) এবং "Supplier_No" (অনুচ্ছেদের সরবরাহকারীর জন্য) ক্ষেত্র বিদ্যমান থাকে, আপনি বিষয়োপকরোণের গড় মূল্য অর্জন করতে পারেন যা একজন সরবরাহকারী নিম্নবর্ণিত কোয়েরির সাথে প্রদান করে:

  1. কোয়েরি নকশায় "Item" সারণি সন্নিবেশ করান।

  2. "Price" এবং "Supplier_No" ক্ষেত্রে ডাবল ক্লিক করুন।

  3. ফাংশন রেখা সক্রিয় করুন এবং "Price" ক্ষেত্র হতে গড় ফাংশন নির্বাচন করুন।

  4. আপনি উপনামের জন্য রেখায় "Average" সন্নিবেশ করাতে পারেন (প্রশ্নবোধক চিহ্ন ব্যতীত)।

  5. "Supplier_No" ক্ষেত্রের জন্য গ্রুপ পছন্দ করুন।

  6. কোয়েরি চালান।

নিম্নবর্ণিত প্রসঙ্গ তালিকা এবং প্রতীক চিহ্ন সহজলভ্য:

ফাংশন

Shows or hides a row for the selection of functions.

সারণির নাম

সারণির নামের জন্য সারি প্রদর্শন করুন বা লুকিয়ে রাখুন।

উপনাম

উপনামের জন্য সারি প্রদর্শন করুন বা লুকিয়ে রাখুন।

পৃথক মান

Retrieves only distinct values from the query. This applies to multiple records that might contain several repeating occurrences of data in the selected fields. If the Distinct Values command is active, you should only see one record in the query (DISTINCT). Otherwise, you will see all records corresponding to the query criteria (ALL).

উদাহরণ স্বরূপ, যদি "Smith" নামটি আপনার ঠিকানার ডাটাবেসে একাধিক বার দেখা যায়, তবে কোয়েরিয় "Smith" নামটি যে শুধুমাত্র একবার দেখা যাবে তা সুনির্দিষ্ট করতে আপনি পৃথক মান নির্দেশটি পছন্দ করতে পারেন।

কতিপয় ক্ষেত্র অন্তর্ভুক্তকরণ কোয়েরির জন্য, সকল ক্ষেত্র হতে একত্রিতকরণ মান অবশ্যই অনন্য হতে হবে ফলে একটি সুনির্দিষ্ট রেকর্ড হতে ফলাফল গঠন করা যেতে পারে। উদাহরণ স্বরূপ, আপনার ঠিকানা বইয়ে একবার "Smith in Chicago" আছে এবং দুইবার "Smith in London" আছে। পৃথক মান নির্দেশ দ্বারা, কোয়েরি "last name" এবং "city" দুইটি ক্ষেত্র ব্যবহার করবে এবং কোয়েরির ফলাফল "Smith in Chicago" একবার এবং "Smith in London" একবার ফেরত পাঠায়।

SQL এ, এই নির্দেশটি DISTINCT বিধেয় এর সাথে সংশ্লিষ্ট।

সীমা

Allows you to limit the maximum number of records returned by a query.

If a Limit construction is added, you will get at most as many rows as the number you specify. Otherwise, you will see all records corresponding to the query criteria.

পরিশোধক শর্ত যথাযথভাবে প্রকাশ করছে

When formulating filter conditions, various operators and commands are available to you. Apart from the relational operators, there are SQL-specific commands that query the content of database fields. If you use these commands in the LibreOffice syntax, LibreOffice automatically converts these into the corresponding SQL syntax via an internal parser. You can also enter the SQL command directly and bypass the internal parser. The following tables give an overview of the operators and commands:

অপারেটর

অর্থ

শর্ত পূরণ করে যদি...

=

এর সমান

... ক্ষেত্রের বিষয়বস্তু নির্দেশিত রাশি হুবুহু অনুরূপ।

The operator = will not be displayed in the query fields. If you enter a value without any operator, the = operator is automatically assumed.

<>

এর সমান নয়

... ক্ষেত্রের বিষয়বস্তু সুনির্দিষ্ট রাশির সাথে সঙ্গতিপূর্ণ নয়।

>

অপেক্ষা বৃহত্তর

... ক্ষেত্রের বিষয়বস্তু সুনির্দিষ্ট রাশির অপেক্ষা বৃহত্তর।

<

অপেক্ষা ক্ষুদ্রতর

... ক্ষেত্রের বিষয়বস্তু সুনির্দিষ্ট রাশির অপেক্ষা ক্ষুদ্রতর।

>=

অপেক্ষা বৃহত্তর বা এর সমান

... ক্ষেত্রের বিষয়বস্তু সুনির্দিষ্ট রাশির অপেক্ষা বৃহত্তর বা এর সমান।

<=

অপেক্ষা ক্ষুদ্রতর বা এর সমান

... ক্ষেত্রের বিষয়বস্তু সুনির্দিষ্ট রাশির অপেক্ষা ক্ষুদ্রতর বা এর সমান।


LibreOffice এর নির্দেশ

SQL নির্দেশ

অর্থ

শর্ত পূরণ করে যদি...

IS EMPTY

IS NULL

ফাঁকা

... the field contains no data. For Yes/No fields with three possible states, this command automatically queries the undetermined state (neither Yes nor No).

IS NOT EMPTY

IS NOT NULL

ফাঁকা নয়

... the field is not empty, i.e it contains data.

LIKE

placeholder (*) for any number of characters

placeholder (?) for exactly one character

LIKE

placeholder (%) for any number of characters

Placeholder (_) for exactly one character

এর একটি উপাদান

... the data field contains the indicated expression. The (*) placeholder indicates whether the expression x occurs at the beginning of (x*), at the end of (*x) or inside the field content (*x*). You can enter as a placeholder in SQL queries either the SQL % character or the familiar (*) file system placeholder in the LibreOffice interface.

The (*) or (%) placeholder stands for any number of characters. The question mark (?) in the LibreOffice interface or the underscore (_) in SQL queries is used to represent exactly one character.

NOT LIKE

NOT LIKE

এর উপাদান নয়

... the field does not contain data having the specified expression.

BETWEEN x AND y

BETWEEN x AND y

[x,y] অন্তরের মধ্যে পড়ে

... the field contains a data value that lies between the two values x and y.

NOT BETWEEN x AND y

NOT BETWEEN x AND y

[x,y] অন্তরের মধ্যে পড়ে না

... the field contains a data value that does not lie between the two values x and y.

IN (a; b; c...)

Note that semicolons are used as separators in all value lists!

IN (a, b, c...)

a, b, c ধারণ করে...

... the field name contains one of the specified expressions a, b, c,... Any number of expressions can be specified, and the result of the query is determined by a boolean OR operator. The expressions a, b, c... can be either numbers or characters

NOT IN (a; b; c...)

NOT IN (a, b, c...)

a, b, c ধারণ করে না...

... the field does not contain one of the specified expressions a, b, c,...

= TRUE

= TRUE

"সত্য" মান আছে

... ক্ষেত্র নামের "সত্য" মান আছে

= FALSE

= FALSE

"মিথ্যা" মান আছে

... the field data value is set to false.


উদাহরণ

='Ms.'

ক্ষেত্রের "Ms." বিষয়বস্তু যুক্ত ক্ষেত্রের নাম ফেরত পাঠায়

<'2001-01-10'

returns dates that occurred before January 10, 2001

LIKE 'g?ve'

returns records with field content such as "give" and "gave".

LIKE 'S*'

returns records with field contents such as "Sun".

BETWEEN 10 AND 20

returns records with field content between the values 10 and 20. (The fields can be either text fields or number fields).

IN (1; 3; 5; 7)

returns records with the values 1, 3, 5, 7. If the field name contains an item number, for example, you can create a query that returns the item having the specified number.

NOT IN ('Smith')

returns records that do not contain "Smith".


Like Escape Sequence: {escape 'escape-character'}

উদাহরণ: select * from Item where ItemName like 'The *%' {escape '*'}

উদাহরণটি আপনাকে সকল এন্ট্রি প্রদান করবে যেখানে বিষয়োপকরণের নাম 'The *' দ্বারা শুরু হয়। এটার দ্বারা বুঝায় যে আপনি বর্ণচিহ্ন খুঁজতে পারেন যা অন্যভাবে স্থানধারক হিসেবে ব্যাখ্যা করা হয়, যেমন *, ?, _, % বা.

বহিস্থঃ সংযোগ Escape Sequence: {oj outer-join}

উদাহরণ: select Article.* from {oj item LEFT OUTER JOIN orders ON item.no=orders.ANR}

পাঠ ক্ষেত্র খুঁজছে

To query the content of a text field, you must put the expression between single quotes. The distinction between uppercase and lowercase letters depends on the database in use. LIKE, by definition, is case-sensitive (though some databases don't interpret this strictly).

তারিখ ক্ষেত্র খুঁজছে

Date fields are represented as #Date# to clearly identify them as dates. Date, time and date/time constants (literals) used in conditions can be of either the SQL Escape Syntax type, or default SQL2 syntax.

Date Type Element

SQL Escape syntax #1 - may be obsolete

SQL Escape syntax #2

SQL2 syntax

তারিখ

{D'YYYY-MM-DD'}

{d 'YYYY-MM-DD'}

'YYYY-MM-DD'

সময়

{D'HH:MM:SS'}

{t 'HH:MI:SS[.SS]'}

'HH:MI:SS[.SS]'

DateTime

{D'YYYY-MM-DD HH:MM:SS'}

{ts 'YYYY-MM-DD HH:MI:SS[.SS]'}

'YYYY-MM-DD HH:MI:SS[.SS]'


উদাহরণ: select {d '1999-12-31'} from world.years

Example: select * from mytable where years='1999-12-31'

All date expressions (date literals) must be enclosed with single quotation marks. (Consult the reference for the particular database and connector you are using for more details.)

হ্যাঁ/না ক্ষেত্র খুঁজছে

হ্যাঁ/না ক্ষেত্র খুঁজতে, dBASE সারণির জন্য নিম্নবর্ণিত সিনট্যাক্স ব্যবহার করুন:

অবস্থা

মানদন্ড খুঁজছে

উদাহরণ

হ্যাঁ

dBASE সারণির জন্য: যেকোনো প্রদত্ত্ব মানের সমান নয়

=1 সকল রেকর্ড ফেরত পাঠায় যেখানে হ্যাঁ/না ক্ষেত্রের অবস্থা "হ্যাঁ" বা "চালু" (কালো অবস্থায় নির্বাচিত)।

না

.

=0 এমন সকল রেকর্ড ফেরত পাঠায় যার জন্য হ্যাঁ/না ক্ষেত্রের অবস্থা "হ্যাঁ" বা "বন্ধ" (কোনো নির্বাচন নেই)।

ফাঁকা

IS NULL

IS NULL এমন সকল রেকর্ড ফেরত পাঠায় যার জন্য হ্যাঁ/না ক্ষেত্রের অবস্থা "হ্যাঁও" না বা "নাও" না (ধূসর অবস্থায় নির্বাচিত)।


নোট আইকন

সিনট্যাক্স ব্যবহৃত ডাটাবেস সিস্টেমের উপর ভিত্তি করে। আপনাকে অবশ্যই নোট রাখতে হবে যে হ্যাঁ/না ক্ষেত্র পৃথকভাবে নির্ধারণ করা যেতে পারে (৩টি অবস্থার পরিবর্তে শুধুমাত্র ২টি)।


প্যারামিটারের কোয়েরি

Parameter queries allow the user to input values at run-time. These values are used within the criteria for selecting the records to be displayed. Each such value has a parameter name associated with it, which is used to prompt the user when the query is run.

Parameter names are preceded by a colon in both the Design and SQL views of a query. This can be used wherever a value can appear. If the same value is to appear more than once in the query, the same parameter name is used.

In the simplest case, where the user enters a value which is matched for equality, the parameter name with its preceding colon is simply entered in the Criterion row. In SQL mode this should be typed as WHERE "Field" = :Parameter_name

সতর্কতামূলক আইকন

Parameter names may not contain any of the characters <space>`!"$%^*()+={}[]@'~#<>?/,. They may not be the same as field names or SQL reserved words. They may be the same as aliases.


পরামর্শ আইকন

A useful construction for selecting records based on parts of a text field's content is to add a hidden column with "LIKE '%' || :Part_of_field || '%'" as the criterion. This will select records with an exact match. If a case-insensitive test is wanted, one solution is to use LOWER (Field_Name) as the field and LIKE LOWER ( '%' || :Part_of_field || '%' ) as the criterion. Note that the spaces in the criterion are important; if they are left out the SQL parser interprets the entire criterion as a string to be matched. In SQL mode this should be typed as LOWER ( "Field_Name" ) LIKE LOWER ( '%' || :Part_of_field || '%' ).


Parameter queries may be used as the data source for subforms, to allow the user to restrict the displayed records.

প্যারামিটার ইনপুট

The Parameter Input dialog asks the user to enter the parameter values. Enter a value for each query parameter and confirm by clicking OK or typing Enter.

The values entered by the user may consist of any characters which are allowable for the SQL for the relevant criterion; this may depend on the underlying database system.

পরামর্শ আইকন

The user can use the SQL wild-card characters "%" (arbitrary string) or "_" (arbitrary single character) as part of the value to retrieve records with more complex criteria.


SQL মোড

SQL দ্বারা বোঝায় "Structured Query Language" এবং সম্পর্কযুক্ত ডাটাবেস হালনাগাদ এবং চালানোর জন্য তথ্যাবলী বর্ণনা করে।

In LibreOffice you do not need any knowledge of SQL for most queries, since you do not have to enter the SQL code. If you create a query in the query designer, LibreOffice automatically converts your instructions into the corresponding SQL syntax. If, with the help of the Switch Design View On/Off button, you change to the SQL view, you can see the SQL commands for a query that has already been created.

You can formulate your query directly in SQL code. Note, however, that the special syntax is dependent upon the database system that you use.

If you enter the SQL code manually, you can create SQL-specific queries that are not supported by the graphical interface in the Query designer. These queries must be executed in native SQL mode.

By clicking the Run SQL command directly icon in the SQL view, you can formulate a query that is not processed by LibreOffice and sent directly to the database engine.

Please support us!