<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: boopalan</title>
    <description>The latest articles on DEV Community by boopalan (@boopalan-s).</description>
    <link>https://dev.to/boopalan-s</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3944354%2Fbdb03afb-fdcb-41f0-83ba-f88d55bd67b1.png</url>
      <title>DEV Community: boopalan</title>
      <link>https://dev.to/boopalan-s</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/boopalan-s"/>
    <language>en</language>
    <item>
      <title>Data selections</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Mon, 24 Aug 2026 16:28:37 +0000</pubDate>
      <link>https://dev.to/boopalan-s/data-selections-4k2e</link>
      <guid>https://dev.to/boopalan-s/data-selections-4k2e</guid>
      <description>&lt;p&gt;Why PostgreSQL is ORDBMS ?&lt;/p&gt;

&lt;p&gt;How to now we saw how to create and connect with database, creating tables, today we are going to see more in-depth interactivity with table columns&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="k"&gt;table&lt;/span&gt; &lt;span class="n"&gt;employee&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
&lt;span class="n"&gt;empid&lt;/span&gt; &lt;span class="nb"&gt;integer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; 
&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="nb"&gt;varchar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; 
&lt;span class="n"&gt;designation&lt;/span&gt; &lt;span class="nb"&gt;varchar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; 
&lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="nb"&gt;varchar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; 
&lt;span class="n"&gt;salary&lt;/span&gt; &lt;span class="nb"&gt;integer&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Note do not forget to differentiate each columns by by comma, &lt;/p&gt;

&lt;p&gt;\h to helps&lt;/p&gt;

&lt;p&gt;\d  employee&lt;/p&gt;

&lt;p&gt;\d  will gives the structure of the table &lt;/p&gt;

&lt;p&gt;to insert values in the table first we use the keyword insert, it will trigeres we are going to insert some thing and then we want to define the desigination we are going to insert values in the employee table but but to now we yet not define what we are actually going that desigination, here we want to give all the values for the column.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;insert&lt;/span&gt; &lt;span class="k"&gt;into&lt;/span&gt; &lt;span class="n"&gt;employee&lt;/span&gt; &lt;span class="k"&gt;values&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;123&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Kavin'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Software Engineer'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'DB'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;25000&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;insert&lt;/span&gt; &lt;span class="k"&gt;into&lt;/span&gt; &lt;span class="n"&gt;employee&lt;/span&gt; &lt;span class="k"&gt;values&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;124&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Viyan'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Software Engineer'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'AI'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;27000&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;to verifiy our values are inserted or not&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;form&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;up to now we are actually insert only one values suppose if we want to insert multiple values means how can we able to do it?&lt;/p&gt;

&lt;h1&gt;
  
  
  TODO
&lt;/h1&gt;

&lt;p&gt;To study more this we can insert values from files directly &lt;/p&gt;

&lt;p&gt;does the postgres reads files, then what kind of files it will read, does it reads json, csv&lt;br&gt;
does it reads values form the another database, &lt;br&gt;
dose it reads from the DBMS, RDBMS?&lt;/p&gt;

&lt;p&gt;for just now we will see how to insert multiple values in the query&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;insert&lt;/span&gt; &lt;span class="k"&gt;into&lt;/span&gt; &lt;span class="n"&gt;employee&lt;/span&gt; &lt;span class="k"&gt;values&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;101&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Arul'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Team Lead'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Front End'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;35000&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;101&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Agaran'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Team Lead'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;45000&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;here we are define more then one row in a single query,&lt;/p&gt;

&lt;p&gt;after the values keywords if we use several values seperated by the , it will all takes as the next next rows. &lt;/p&gt;

&lt;p&gt;To verify our multiple values inerstion&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;selecting some columns form the table&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;designation&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt;  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="n"&gt;form&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;suppose if we want to select a name with some conditions means how to it &lt;/p&gt;

&lt;p&gt;can we select an name with some conditions  this kind of this is where clause, it helps to selection with conditions &lt;/p&gt;

&lt;p&gt;suppose if we wan to change the table means how can we able to do it?&lt;br&gt;
Can we able to change the values with the existing values(rows and columns )&lt;/p&gt;

&lt;p&gt;yes we can change the table name with vales?&lt;/p&gt;

&lt;p&gt;Alter is the keyword helps to change the table name&lt;/p&gt;

&lt;p&gt;alter table employee rename to employees; &lt;/p&gt;

&lt;p&gt;alter is the keyword we are actually going to change and we are actually specifing what we are actually going to change by using the keyword table and saying which table by the name of the table as employee and finally using the rename keyword is what kind of thing we are to do in the table &lt;code&gt;rename to employees&lt;/code&gt;, this rename the tables into employee form employees &lt;/p&gt;

&lt;p&gt;different kind of selections&lt;/p&gt;

&lt;p&gt;select distinct designation from the employees &lt;/p&gt;

&lt;p&gt;the distinct keyword will help to select distinct unique values form the table &lt;/p&gt;

&lt;p&gt;but &lt;/p&gt;

&lt;p&gt;select  designation from the employees &lt;/p&gt;

&lt;p&gt;will select all the values in the column &lt;/p&gt;

&lt;p&gt;note it is an interview question ?&lt;/p&gt;

&lt;p&gt;where clause &lt;/p&gt;

&lt;p&gt;it helps to filter the quering the values with more then one conditions&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;it will select those who all are having the values DB at the dept columns &lt;/p&gt;

&lt;p&gt;some of the another examples&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;designation&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Team Lead'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;suppose of we want to count the queirng result can we able to do it? &lt;br&gt;
Yes for counting the queries we can use count&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="k"&gt;count&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Team Lead'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;some of the question are delete , drop and truncate &lt;/p&gt;

&lt;p&gt;adding more conditions &lt;/p&gt;

&lt;p&gt;using &lt;code&gt;and&lt;/code&gt; keyword&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'DEV'&lt;/span&gt; &lt;span class="k"&gt;and&lt;/span&gt; &lt;span class="n"&gt;designation&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'Manager'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;using &lt;code&gt;or&lt;/code&gt; keyword&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;''&lt;/span&gt; &lt;span class="k"&gt;or&lt;/span&gt; &lt;span class="n"&gt;designation&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;''&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  TODO
&lt;/h1&gt;

&lt;p&gt;Redundancy data &lt;/p&gt;

&lt;p&gt;primary key &lt;br&gt;
foreign key&lt;br&gt;
candidate key&lt;br&gt;
unique key&lt;/p&gt;
&lt;h1&gt;
  
  
  TODO
&lt;/h1&gt;

&lt;p&gt;RAID DB&lt;/p&gt;

&lt;p&gt;alias &lt;/p&gt;

&lt;p&gt;suppose if you want to rename the quering column name, we can do it by using the &lt;code&gt;as&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;select dept from employees&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt;  &lt;span class="n"&gt;Department&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;now the dept is renames as the Department &lt;/p&gt;

&lt;p&gt;but in the result the  Department is converted into lower case&lt;/p&gt;

&lt;p&gt;in this way can we able to rename more then one one columns &lt;br&gt;
yes, let we see that&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;empname&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt;  &lt;span class="n"&gt;Department&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Not equals to:&lt;br&gt;
!= , &amp;lt;&amp;gt;, not are used for the not equals&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="k"&gt;not&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;this three method are used to select not equals&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="k"&gt;not&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&amp;gt;&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;between&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;salary&lt;/span&gt; &lt;span class="k"&gt;between&lt;/span&gt; &lt;span class="mi"&gt;19000&lt;/span&gt; &lt;span class="k"&gt;and&lt;/span&gt; &lt;span class="mi"&gt;35000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;does this means can we only able to use it only for the integer ranges?&lt;br&gt;
What are the other data types we can be able to use between ?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="k"&gt;not&lt;/span&gt; &lt;span class="n"&gt;salary&lt;/span&gt; &lt;span class="k"&gt;between&lt;/span&gt; &lt;span class="mi"&gt;19000&lt;/span&gt; &lt;span class="k"&gt;and&lt;/span&gt; &lt;span class="mi"&gt;35000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;using in&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt; &lt;span class="k"&gt;or&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'FE'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;  
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt; &lt;span class="k"&gt;or&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'FE'&lt;/span&gt; &lt;span class="k"&gt;or&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'AI'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;instead of using check the value one by one can use to check the value in a range of items&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'FE'&lt;/span&gt; &lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'AI'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;where&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt; &lt;span class="k"&gt;not&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'DB'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'FE'&lt;/span&gt; &lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'AI'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;what will happen if we change the &lt;code&gt;not in&lt;/code&gt; to &lt;code&gt;in not&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;order by&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;employees&lt;/span&gt; &lt;span class="k"&gt;order&lt;/span&gt; &lt;span class="k"&gt;by&lt;/span&gt; &lt;span class="n"&gt;dept&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>postgress basics</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Sun, 23 Aug 2026 16:41:44 +0000</pubDate>
      <link>https://dev.to/boopalan-s/postgress-basics-4l1i</link>
      <guid>https://dev.to/boopalan-s/postgress-basics-4l1i</guid>
      <description>&lt;p&gt;Today without the decent knowledge in the database we cannot &lt;br&gt;
step in even in a small mini progjects, so companies will expcet &lt;br&gt;
more deper knowlege in the database. &lt;br&gt;
the story of the database begin from the Telephone directory,&lt;/p&gt;

&lt;p&gt;Telephone directory &lt;/p&gt;

&lt;p&gt;In early day to get some ones phone number we use telephone directory, it helps to find out a right one number what we want form the thousands of numberes, We can idendify number by name, location and with some more additional informations. &lt;/p&gt;

&lt;p&gt;Yellow pages &lt;/p&gt;

&lt;p&gt;It is helps for to get the business numberes, finding some for our requirement from the thousands of numbere is not easy, we do not who was doing which kind of work, instead of searching the business requirement from the whole telephone directory, we can get the required business numbers from the yellow pages directly&lt;/p&gt;

&lt;p&gt;Arrival of personal computers &lt;/p&gt;

&lt;p&gt;one of the common thing from this two ways is saving the data in the method of rows and columns. After the development fo the personal computers, we can see the Microsoft excel sheet is the one of the extended version of this feature for personal computer to saving data, micorsoft access is specifically designed for using it as an database.&lt;/p&gt;

&lt;p&gt;excel rapidly developed with many features like spreadsheets, formulas, graphs and many more features but one the other hand micorsoft access is developed for only saving and retriving the data faster. it focus the speed and reliability and additional features for the business data storage management systems.&lt;/p&gt;

&lt;p&gt;throughout this DBMS we can save data multiple tables, tables and sheets are nearly look like similar, for the business requirement we can create a individual tables for saving the data, instead of saving the whole data in a complex single sheet. &lt;/p&gt;

&lt;p&gt;Even though we have use multiple tables, we unable to resolve the relations between the multiple tables, to solve this issue later they move on the RDBMS. it resolve the issue of connecting multiple tables in a single database. &lt;/p&gt;

&lt;p&gt;By using the RDBMS we can connect multiple tables, through out this method we can establish the relation ship between the more then one table, helps to track and resolve the business dependencies and complex table structure.&lt;/p&gt;

&lt;p&gt;nowadays for development we mostly use the RDBMS. &lt;/p&gt;

&lt;p&gt;Some of the RDBMS database are SQLite, MYSQL, Oracle Database and more.  &lt;/p&gt;

&lt;p&gt;What is SQL?&lt;/p&gt;

&lt;p&gt;SQL(structured Query Language) is one of the common term to define the relation ship establishing universal language between the users requirement and the communications between the database. It acts as a standard language to communication, this standard is accepted by many companies and they developed there vendor software to support this SQL. &lt;/p&gt;

&lt;p&gt;Where we us the SQLite?&lt;/p&gt;

&lt;p&gt;It is light weight and super fast database, we can choose it for the smaller application, most of the android's offline first apps are uses the SQLite database &lt;/p&gt;
&lt;h1&gt;
  
  
  TODO
&lt;/h1&gt;

&lt;p&gt;log file? need to study more on it, topics like log file reading and more &lt;br&gt;
it is related to big data, relation ship between the data science and ML&lt;/p&gt;

&lt;p&gt;what is NOSQL?&lt;/p&gt;

&lt;p&gt;it does not use the SQL, it does not store the data in the  structured formate, it save the data in the key value pare or in the JSON formate. It is flexible or schema-less &lt;/p&gt;

&lt;p&gt;Graph based modes like a location, time based factores we can recommend them suggessions, it acts the nodes and it connect the similer and suggessions for the users to make them sustain more time in there platoform. &lt;/p&gt;

&lt;p&gt;Some of the examples for the NOSQL's are MongoDB, Apache Cassendra, Redis, Neo4j and more&lt;/p&gt;

&lt;p&gt;which database we want to study?&lt;/p&gt;

&lt;p&gt;Based one the busines requirement we can choose the DB. We cannot use the only one DB for all the business requirements, for example bancking anf financila service are mostly depends on the the SQL. social medias, Iot services, real-time analytices are mostly depends on the NOSQL. &lt;/p&gt;

&lt;p&gt;At a fresher which DB you want to choose to study, here I am going to study the Postgresql, because it has several advances comparing to the other sql databases.&lt;br&gt;
later we can be able to easily pick NOSQL and most of the other sql database will have similar concepts to the postgres&lt;/p&gt;

&lt;p&gt;what is PostgreSQL?&lt;/p&gt;

&lt;p&gt;It is Advance Object-Relational DBMS, it has excellent SQL standard and best fo the complex queries and more. &lt;/p&gt;

&lt;p&gt;what is the differrence between the POstgres and other databases&lt;/p&gt;

&lt;p&gt;History &lt;/p&gt;

&lt;p&gt;in the early development Postgresql is called in name of INteractive GRaphics and REsearch. Later they improved it to the next stage with many features and they called it and the POSTGRESQL. &lt;/p&gt;

&lt;p&gt;Installation&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;it helps to fix the dependenies issues,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;postgresql postgresql-contrib
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;it will install the postgresql database&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl status postgresql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;to startup on the booting postgresql&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl &lt;span class="nb"&gt;enable &lt;/span&gt;postgresql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;it will help to enable the postgresql always startup when the computer boots&lt;/p&gt;

&lt;p&gt;Who can use Postgres database&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; &lt;span class="nt"&gt;-u&lt;/span&gt; postgres
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxb3tx4rrhxm2emihstxd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxb3tx4rrhxm2emihstxd.png" alt=" " width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo&lt;/code&gt; : is helps we are give the permission for this software as the super user for doing things &lt;br&gt;
&lt;code&gt;-i&lt;/code&gt; : is the start a login shell [ Loading the User's Environment automatically ]&lt;br&gt;
&lt;code&gt;-u&lt;/code&gt; : is now act as the user&lt;br&gt;&lt;br&gt;
&lt;code&gt;postgres&lt;/code&gt; : here &lt;code&gt;postgres&lt;/code&gt; is the by default admin user for the postgresql database&lt;/p&gt;

&lt;p&gt;here up to now we are just login as in the name of the postgres user name not yet in the database just we are switch by default user to the postgres user &lt;/p&gt;

&lt;p&gt;suppose if we want go back we can simple enter the &lt;code&gt;exit&lt;/code&gt; for postgres user to the normal user again &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5bpoq75hhxfcegd6r6ta.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5bpoq75hhxfcegd6r6ta.png" alt=" " width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;NOTE: here anyone can use the postgres database but at now or at the installation we have to use it in the default postgres user&lt;/p&gt;
&lt;h1&gt;
  
  
  how to use postgres
&lt;/h1&gt;

&lt;p&gt;now we are actually going inside or connecting in to the postgresql database, if we give the psql   &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7yn3blahcc2fwvg5qal5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7yn3blahcc2fwvg5qal5.png" alt=" " width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;normally we can do similar kind of thing like whenever if the give the python in the terminal it will opens the python interpreter &lt;/p&gt;

&lt;p&gt;for the security reasons by default other then postgres user database does not allows any one to login in the database. &lt;/p&gt;

&lt;p&gt;NOTE: can we change or add another user to login in the database&lt;/p&gt;
&lt;h1&gt;
  
  
  What is the psql ?
&lt;/h1&gt;

&lt;p&gt;psql is the interactive command-line client for the PostgreSQL server, &lt;/p&gt;
&lt;h1&gt;
  
  
  some of the helping commands
&lt;/h1&gt;

&lt;p&gt;&lt;code&gt;\h&lt;/code&gt; - help&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm829y7eiqnfc5rxgc0ih.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm829y7eiqnfc5rxgc0ih.png" alt=" " width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1n5p531vg6052bnl4wqz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1n5p531vg6052bnl4wqz.png" alt=" " width="800" height="565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;\l&lt;/code&gt; - list&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz9fc1i0myfk9lm4bg1de.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz9fc1i0myfk9lm4bg1de.png" alt=" " width="420" height="244"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;\r&lt;/code&gt; - stop | recover suppose if we entered an wrong command &lt;/p&gt;

&lt;p&gt;name | Owner | Encoding | Collate | Ctype | Access previlages |&lt;/p&gt;

&lt;p&gt;name of the database&lt;/p&gt;

&lt;p&gt;Owner who is the owner of the database&lt;/p&gt;

&lt;p&gt;to quit for the \l&lt;br&gt;
esc → :q&lt;/p&gt;
&lt;h1&gt;
  
  
  to get all the databases form the postgress ?
&lt;/h1&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;l&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjvi2dsyxxao8pfa4n3eg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjvi2dsyxxao8pfa4n3eg.png" alt=" " width="800" height="289"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;here we can ablet to see list of items in the name columns? this all are the default databases in the postgress &lt;/p&gt;

&lt;p&gt;we will see about it later in this discussion&lt;/p&gt;
&lt;h1&gt;
  
  
  how to create a database ?
&lt;/h1&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="k"&gt;database&lt;/span&gt; &lt;span class="k"&gt;database&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;it is insencitieve&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;DADABASE&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;NOTE: whenever if we create or execute a command or query in the database &lt;br&gt;
when have to use &lt;code&gt;;&lt;/code&gt; to define the commend is ending at that point.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;movies&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0rq9hqvmkw4coqdwowgl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0rq9hqvmkw4coqdwowgl.png" alt=" " width="557" height="277"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;we can able to see all the database name;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm6zlm9lpwzfat4brwh2p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fm6zlm9lpwzfat4brwh2p.png" alt=" " width="662" height="417"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;suppose or in by mistake if you create a database with wrong name how you will delete the database&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;DROP&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;movies&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmq6widvgshd00oybowyw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmq6widvgshd00oybowyw.png" alt=" " width="692" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;finally the database was deleted or removed from out databases&lt;/p&gt;

&lt;p&gt;NOTE : it is not recomenede way to remove the do it&lt;/p&gt;

&lt;h1&gt;
  
  
  How to connect our database?
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="k"&gt;C&lt;/span&gt; &lt;span class="n"&gt;DADABASENAME&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="k"&gt;c&lt;/span&gt; &lt;span class="n"&gt;databasename&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;it will connect to that particular database what we are looking to connect&lt;br&gt;
when we given as the databasename&lt;/p&gt;
&lt;h1&gt;
  
  
  To see the version ?
&lt;/h1&gt;

&lt;p&gt;do you think databases have version, just like version in software postgress also have versions, knowing version is importent to moving the development project to the production stage.&lt;/p&gt;

&lt;p&gt;to get version of the postgress, we can use&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;select version();
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5ptik4cqil5n6b464950.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F5ptik4cqil5n6b464950.png" alt=" " width="514" height="257"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhq9432hzwthj3q7vma76.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhq9432hzwthj3q7vma76.png" alt=" " width="800" height="531"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;to esc form version&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="n"&gt;esc&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;q&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h1&gt;
  
  
  Getting current date using postgress
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;curent_data&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F193xwza02ua784huh5vl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F193xwza02ua784huh5vl.png" alt=" " width="511" height="271"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fse8rfpaaxfuf47vrvpmj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fse8rfpaaxfuf47vrvpmj.png" alt=" " width="511" height="271"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsdjoryhu24x8evwo7sl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsdjoryhu24x8evwo7sl.png" alt=" " width="511" height="271"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;it will get the current date for this query&lt;/p&gt;

&lt;h1&gt;
  
  
  to create a table in the database
&lt;/h1&gt;

&lt;p&gt;what is the minimum requirement to create or ensure it is a table ?&lt;/p&gt;

&lt;p&gt;In terms of table prespective, how we can ensure that what we are going to store in the table, for table we are creating it to save some kind of data, without need of saving date we do not need to creating table. &lt;/p&gt;

&lt;p&gt;suppose if we try to create a table without defining the &lt;br&gt;
any columns what will happen&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="n"&gt;DB&lt;/span&gt;&lt;span class="o"&gt;=#&lt;/span&gt; &lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="k"&gt;table&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt;
&lt;span class="n"&gt;DB&lt;/span&gt;&lt;span class="o"&gt;-#&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;when we just give this line &lt;code&gt;create table TABLE&lt;/code&gt; &lt;br&gt;
without semi-colon &lt;/p&gt;

&lt;p&gt;you can able to see that in the next line equal(&lt;code&gt;=&lt;/code&gt;) sign changes into minus(&lt;code&gt;-&lt;/code&gt;),  &lt;/p&gt;

&lt;p&gt;what was happening in the next line, was &lt;code&gt;-&lt;/code&gt; indicate that postgress was actually waiting for your next command for what you will going to given as the next inputs, it will wait for until we ending the line using &lt;code&gt;;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;to end the session just we can simple given the &lt;code&gt;;&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="n"&gt;DB&lt;/span&gt;&lt;span class="o"&gt;=#&lt;/span&gt; &lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="k"&gt;table&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt;
&lt;span class="n"&gt;DB&lt;/span&gt;&lt;span class="o"&gt;-#&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;SOME&lt;/span&gt; &lt;span class="n"&gt;ERROR&lt;/span&gt;
&lt;span class="n"&gt;DB&lt;/span&gt;&lt;span class="o"&gt;=#&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;now, you can see an error with invalid sql error&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvwxsxds10diost7hfc9t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvwxsxds10diost7hfc9t.png" alt=" " width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;so postgress expect to user to create a at least one column in the table.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpge2jw1m9a0824xyjp75.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpge2jw1m9a0824xyjp75.png" alt=" " width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;we want to define the value type in the columns it will helps to process the data faster and quiceker, &lt;br&gt;
for a business perspective we can not compliment anything in the perforamnce&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="k"&gt;table&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3hdz5lwotnu4vgoi9bd8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3hdz5lwotnu4vgoi9bd8.png" alt=" " width="480" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;CHAR(n) - Fixed length text, having limit upto n &lt;/p&gt;

&lt;p&gt;VARCHAR(n) - variable length with n limit &lt;/p&gt;

&lt;p&gt;TEXT - Unlimited variable length&lt;/p&gt;

&lt;p&gt;CHAR (without length) - it will allow as to store only one letter &lt;/p&gt;

&lt;p&gt;SMALLINT - small whole numbers ( -32,768 to 32,767 ), we can use it for storing age, and small counts&lt;/p&gt;

&lt;p&gt;INTEGER - it allow as to store store values in between -2 to 2 billion&lt;/p&gt;

&lt;p&gt;BIGINT - some time integers requires to store more then billion values, in swituations like storing population exeds the count.&lt;/p&gt;

&lt;p&gt;DECIMAL(p,s) - some times values need to store in the decimal points&lt;/p&gt;

&lt;p&gt;NUMERIC(p,s) - it is similar to the DECIMAL&lt;/p&gt;

&lt;p&gt;REAL - Scientific measurements needs Approximate numbers. &lt;/p&gt;

&lt;p&gt;DOUBLE PRECISION - Scientific calculations&lt;/p&gt;

&lt;p&gt;SERIAL - Auto-incrementing integer&lt;/p&gt;

&lt;p&gt;BIGSERIAL - Auto-incrementing big integer&lt;/p&gt;

&lt;p&gt;DATE   &lt;code&gt;YYYY-MM-DD&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;TIME  &lt;code&gt;HH:MM:SS&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;TIMESTAMP  &lt;code&gt;YYYY-MM-DD HH:MM:SS&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;TIMESTAMPTZ   &lt;code&gt;YYYY-MM-DD HH:MM:SS TZ&lt;/code&gt;   &lt;/p&gt;

&lt;p&gt;INTERVAL  &lt;code&gt;1 year 2 months&lt;/code&gt;   &lt;/p&gt;

&lt;p&gt;TIME WITH TZ   &lt;code&gt;HH:MM:SS TZ&lt;/code&gt;   &lt;/p&gt;

&lt;p&gt;BOOLEAN - instead of saving the TRUE, FALSE we can also use as a values NULL&lt;/p&gt;

&lt;p&gt;JSON - JSON data    &lt;/p&gt;

&lt;p&gt;JSONB - Binary JSON    &lt;/p&gt;

&lt;p&gt;INET - IP address  &lt;code&gt;192.168.1.1&lt;/code&gt;  &lt;/p&gt;

&lt;p&gt;INET - IP network  &lt;code&gt;192.168.1.0/24&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;MACADDR - MAC address &lt;code&gt;08:00:2b:01:02:03&lt;/code&gt;  &lt;/p&gt;

&lt;p&gt;POINT - 2D point  &lt;code&gt;(x,y)&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;CIRCLE - Circle &lt;code&gt;&amp;lt;(x,y),r&amp;gt;&lt;/code&gt;  &lt;/p&gt;

&lt;p&gt;BOX - Rectangle  &lt;code&gt;(x1,y1),(x2,y2)&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;anytype&lt;/code&gt;[] - Array of typed values&lt;/p&gt;

&lt;p&gt;ENUM - helps to store string options in the column&lt;br&gt;
&lt;code&gt;('pending', 'processing', 'shipped', 'delivered')&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;MONEY - Currency amount&lt;/p&gt;
&lt;h1&gt;
  
  
  Let we see how to create table inside
&lt;/h1&gt;

&lt;p&gt;can we create tables directly in the postgress ?&lt;/p&gt;

&lt;p&gt;just now we saw how to create databases in the postgress but can we create tables in the&lt;br&gt;
postgress, not the strecture of the tables we can only create tables inside database&lt;/p&gt;

&lt;p&gt;suppose if we create tables without entering any database, it will show error&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft9bw56ydkikfui2j4a5w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft9bw56ydkikfui2j4a5w.png" alt=" " width="649" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ensure that you are inside the database!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F13waqn1xoofgc06dfzlo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F13waqn1xoofgc06dfzlo.png" alt=" " width="633" height="213"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="n"&gt;movies&lt;/span&gt;&lt;span class="o"&gt;=#&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;now we can see that &lt;code&gt;postgres=#&lt;/code&gt; is changed  &lt;code&gt;movies=#&lt;/code&gt;   &lt;/p&gt;

&lt;p&gt;this indicates we are inside the &lt;code&gt;movies&lt;/code&gt; tables&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="k"&gt;table&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;
&lt;span class="n"&gt;movie_name&lt;/span&gt; &lt;span class="nb"&gt;varchar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="n"&gt;release_data&lt;/span&gt; &lt;span class="nb"&gt;date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="n"&gt;ticket&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;
&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;things we do not want to&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="k"&gt;table&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;
&lt;span class="n"&gt;movie_name&lt;/span&gt; &lt;span class="nb"&gt;varchar&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;80&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="n"&gt;release_data&lt;/span&gt; &lt;span class="nb"&gt;date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="n"&gt;ticket&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6vd1fnvak6uzswcys00p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6vd1fnvak6uzswcys00p.png" alt=" " width="536" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;movie&lt;/code&gt; is the name of the table &lt;/p&gt;

&lt;p&gt;&lt;code&gt;create table movie&lt;/code&gt; here we are going to create a &lt;br&gt;
table using the &lt;code&gt;table&lt;/code&gt; keywords &lt;/p&gt;

&lt;p&gt;and here we naming table as &lt;code&gt;movie&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;movie_name&lt;/code&gt;, &lt;code&gt;release_data&lt;/code&gt;, &lt;code&gt;ticket&lt;/code&gt; &lt;br&gt;
this all are the name of the columns and &lt;br&gt;
we define the the value type of the columns &lt;/p&gt;

&lt;p&gt;&lt;code&gt;varchar&lt;/code&gt; is define we are actually going use string &lt;br&gt;
value is a type for the movie_name column, &lt;br&gt;
as well as we define the colmn type respectively for the release_date, ticket as the type of date and int&lt;/p&gt;

&lt;p&gt;suppose if we try to create a table without defining the any columns what will happen&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;current_database&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff2kekm9n9orfz5k0srko.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff2kekm9n9orfz5k0srko.png" alt=" " width="536" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Insert data into the tables
&lt;/h1&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;insert&lt;/span&gt; &lt;span class="k"&gt;into&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt; &lt;span class="k"&gt;values&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'syperman'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'2021-07-15'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'120'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foq7x291efppgxe6h7xuv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foq7x291efppgxe6h7xuv.png" alt=" " width="728" height="198"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;inseting more datas&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;insert&lt;/span&gt; &lt;span class="k"&gt;into&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt; &lt;span class="k"&gt;values&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'superman'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'2022-05-02'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'120'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;insert&lt;/span&gt; &lt;span class="k"&gt;into&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt; &lt;span class="k"&gt;values&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'flash'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'2022-05-02'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'120'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fp9dr0ith48rqibkkzsll.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fp9dr0ith48rqibkkzsll.png" alt=" " width="728" height="198"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;here we are actually inserted data in a particular order, what will &lt;br&gt;
happen if we inserted in a wrong formate ?&lt;/p&gt;

&lt;p&gt;Suppose if we want to customize the data means how to it?&lt;/p&gt;

&lt;p&gt;What will happen if we does not give any one value for this column &lt;/p&gt;

&lt;p&gt;can we change the order of the insertion values&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;insert&lt;/span&gt; &lt;span class="k"&gt;into&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;release_date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;movie_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ticket&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;values&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'2024-01-11'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'batman'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;insert&lt;/span&gt; &lt;span class="k"&gt;into&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt; &lt;span class="k"&gt;values&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'superman'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'2022-05-02'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'120'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;this type of inerstion is positional arguments&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;insert&lt;/span&gt; &lt;span class="k"&gt;into&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;release_date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;movie_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ticket&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;values&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'2024-01-11'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'batman'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa9zxjxf1heixd5r7ktoa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa9zxjxf1heixd5r7ktoa.png" alt=" " width="728" height="198"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;then what is name of this type of insertion &lt;/p&gt;

&lt;p&gt;how to select the values for the database tables &lt;/p&gt;

&lt;h1&gt;
  
  
  getting the values in the tables
&lt;/h1&gt;

&lt;p&gt;&lt;code&gt;*&lt;/code&gt; is the universal selector it will get all the values in the table&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;release_date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;movie_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ticket&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;both methods are equal &lt;/p&gt;

&lt;p&gt;&lt;code&gt;*&lt;/code&gt; is an universal selector &lt;/p&gt;

&lt;p&gt;this kind of questions must be clear only if we practice contineously &lt;br&gt;
update tablename&lt;br&gt;
update table tablenaem&lt;/p&gt;

&lt;p&gt;create table name&lt;br&gt;
create tablename&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;select&lt;/span&gt; &lt;span class="n"&gt;movie_name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;release_date&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ticket&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mi"&gt;4&lt;/span&gt;  &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="n"&gt;family_price&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;movie&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;here the  value of the  ticket is taken from the table and multiplied by 4 and return then to us, It does not update the values in the table &lt;/p&gt;

</description>
    </item>
    <item>
      <title>july 30</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Thu, 30 Jul 2026 14:54:44 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-30-3p15</link>
      <guid>https://dev.to/boopalan-s/july-30-3p15</guid>
      <description>&lt;p&gt;trying the FFI between the c and the python3&lt;/p&gt;

&lt;p&gt;i am planning the do a very simple ffi for an simple c program&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;int add (int a, int b) {
   return a + b;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;now let we compile this simple program for the linux&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;gcc -shared -o libadd.so add.c
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;using this&lt;code&gt;.so&lt;/code&gt; file in python program&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
import ctypes
import os

if os.name == 'posix':  
    lib = ctypes.CDLL('./libadd.so')
else:  
    lib = ctypes.CDLL('./add.dll')

lib.add.argtypes = [ctypes.c_int, ctypes.c_int]  
lib.add.restype = ctypes.c_int              

result = lib.add(5, 7)
print(f"5 + 7 = {result}")


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8dfdynizzidc6yrf1yql.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8dfdynizzidc6yrf1yql.png" alt=" " width="612" height="526"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>July 13 blog</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Sun, 19 Jul 2026 12:43:40 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-13-blog-453d</link>
      <guid>https://dev.to/boopalan-s/july-13-blog-453d</guid>
      <description>&lt;p&gt;what is signals in Angular?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://angular.dev/guide/signals" rel="noopener noreferrer"&gt;https://angular.dev/guide/signals&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;reading the documentation may like many, but i will not say&lt;br&gt;
that but angular documentation changes my&lt;br&gt;&lt;br&gt;
perspective &lt;/p&gt;

&lt;p&gt;we can use many values in signals from primitives to complex &lt;br&gt;
data structures &lt;/p&gt;

&lt;p&gt;angular signal is two types &lt;/p&gt;

&lt;p&gt;we can use it only for reading the values this type&lt;br&gt;
does not allows us to change the values &lt;br&gt;
and another type is can we can do read and write &lt;/p&gt;

&lt;p&gt;signals was either writable or read-only&lt;/p&gt;

&lt;p&gt;how to use the signal in the angular &lt;/p&gt;

&lt;p&gt;for using signal we have to import in the angular component&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;signal&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@angular/core&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;const count = signal(0); &lt;/p&gt;

&lt;p&gt;using them in the javascript&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nf"&gt;count&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;using them in the template&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nf"&gt;count&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;we have two way to change the value signal they are&lt;/p&gt;

&lt;p&gt;&lt;code&gt;set()&lt;/code&gt; and &lt;code&gt;update()&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;this two are function we are getting&lt;/p&gt;

&lt;p&gt;form the signal&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;count&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nx"&gt;count&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;update&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;value&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;changing the values using the angular event binding&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// in template&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nf"&gt;button &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;click&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;incrementCount()&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;+&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="sr"&gt;/button&lt;/span&gt;&lt;span class="err"&gt;&amp;gt;
&lt;/span&gt;

&lt;span class="c1"&gt;// in typescript &lt;/span&gt;
&lt;span class="nx"&gt;count&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="nf"&gt;incrementCount&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;count&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;update&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;val&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;val&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;we actually saw that signal has read only and writable &lt;/p&gt;

&lt;p&gt;now how to convert the writable signal to read only signal &lt;/p&gt;

&lt;p&gt;by using asReadonly() function can make a signal &lt;/p&gt;

&lt;p&gt;to read only signal, this function actually takes a copy of the&lt;br&gt;
signal and make it as read only values having signal &lt;/p&gt;

&lt;p&gt;Computed signals&lt;/p&gt;

&lt;p&gt;it is actually read only signal it actually derives its &lt;/p&gt;

&lt;p&gt;value from other signals.&lt;/p&gt;

&lt;p&gt;suppose if you like to deside the value type for the &lt;/p&gt;

&lt;p&gt;signal we can do it by the &lt;code&gt;WritableSignal&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;WritableSignal&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;Signal&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@angular/core&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;count&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;WritableSignal&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kr"&gt;number&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;suppose if you want to use the type for read only signal &lt;br&gt;
we can use the &lt;code&gt;Signal&lt;/code&gt; type &lt;/p&gt;

&lt;p&gt;const doubleCount: Signal = computed(() =&amp;gt; count() * 2);&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;computed&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@angular/core&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;price&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;signal&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;doublePrice&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;computed&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;price&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;we know that computed value is read only, and it actually derived &lt;/p&gt;

&lt;p&gt;value form the other signal that means if we change the value of&lt;/p&gt;

&lt;p&gt;the original signal does that affects the computed signal, yes &lt;/p&gt;

&lt;p&gt;actually yes whenever if you change the signal it affects the&lt;/p&gt;

&lt;p&gt;computed signal and so it is lazily evaluated. &lt;/p&gt;

&lt;p&gt;Note it actually depends the signal value but it does not depends &lt;/p&gt;

&lt;p&gt;value of the signal it actually expects the signal changes &lt;/p&gt;

&lt;p&gt;effect signal &lt;/p&gt;

&lt;p&gt;if you want to track an value and based on the value if you want&lt;/p&gt;

&lt;p&gt;to do any action you can use the effect, &lt;/p&gt;

&lt;p&gt;if you use any values inside the effect it will be automatically &lt;/p&gt;

&lt;p&gt;becomes the dependencies, if you use any signal inside effect. if the&lt;/p&gt;

&lt;p&gt;signal changes effect will automatically starts runs&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nf"&gt;effect&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;`User set to &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nf"&gt;currentUser&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;&lt;span class="s2"&gt; and the counter is &lt;/span&gt;&lt;span class="p"&gt;${&lt;/span&gt;&lt;span class="nf"&gt;counter&lt;/span&gt;&lt;span class="p"&gt;()}&lt;/span&gt;&lt;span class="s2"&gt;`&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;it is an example form the angular&lt;/p&gt;

&lt;p&gt;suppose if you are using the eventlistner, setInterval and setTimeout.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="nf"&gt;effect&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;onCleanup&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;timer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;setInterval&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Tick...&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

  &lt;span class="nf"&gt;onCleanup&lt;/span&gt;&lt;span class="p"&gt;(()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;clearInterval&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;timer&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt; 
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>july 12 blog</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Sun, 19 Jul 2026 12:40:33 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-12-blog-1b7c</link>
      <guid>https://dev.to/boopalan-s/july-12-blog-1b7c</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi4yyiyagda8p5gwtvuad.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi4yyiyagda8p5gwtvuad.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvsxhh4i06kowkxhs8b3t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvsxhh4i06kowkxhs8b3t.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>july 11 blog</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Sun, 19 Jul 2026 12:37:09 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-11-blog-2dhe</link>
      <guid>https://dev.to/boopalan-s/july-11-blog-2dhe</guid>
      <description>&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://ilugc.in/posts/meeting-minutes-july-2026/" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Filugc.in%2Fimages%2F20260711-talk0.jpg" height="600" class="m-0" width="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://ilugc.in/posts/meeting-minutes-july-2026/" rel="noopener noreferrer" class="c-link"&gt;
            Meeting Minutes, July 2026 |
    ILUGC
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            Here is the quick recap of what happend in ILUGC Monthly meet, July 11, 2026.
Intro Gopi welcomed the participants and gave small introduction about ILUGC Briefed participants about the mailing list Talk 0 Zaid started his talk explaining network fundamentals He explained the physical and hardware layer Discussed MAC, IPV4 and Subnetting He demonstrated concepts using cisco packet tracer
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Filugc.in%2Ffavicon.svg" width="32" height="32"&gt;
          ilugc.in
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;i am went to chennai to attent the ilugc meet&lt;/p&gt;

</description>
    </item>
    <item>
      <title>july 10 blog</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Sun, 19 Jul 2026 12:35:15 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-10-blog-4cg6</link>
      <guid>https://dev.to/boopalan-s/july-10-blog-4cg6</guid>
      <description>&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://gitlab.com/boopalan-dev/tamileuphonic/-/commit/354b87ea853a736323e3a9754319bc7ca22b059c" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgitlab.com%2Fassets%2Ftwitter_card-570ddb06edf56a2312253c5872489847a0f385112ddbcd71ccfa1570febab5d2.jpg" height="800" class="m-0" width="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://gitlab.com/boopalan-dev/tamileuphonic/-/commit/354b87ea853a736323e3a9754319bc7ca22b059c" rel="noopener noreferrer" class="c-link"&gt;
            Update 16 files (354b87ea) · Commits · Boopalan S / TamilEuphonic · GitLab
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            - /euphonic/stackwords.py - /euphonic/previous.py - /euphonic/utils.py - /euphonic/wordsbetween.py - /euphonic/singleletter.py - /euphonic/partical.py - /euphonic/specificword.py - /euphonic/common.py - /euphonic/__pycache__/previous.cpython-312.pyc - /euphonic/__pycache__/singleletter.cpython-312.pyc - /euphonic/__pycache__/stackwords.cpython-312.pyc - /euphonic/__pycache__/common.cpython-312.pyc - /euphonic/__pycache__/wordsbetween.cpython-312.pyc - /euphonic/__pycache__/specificword.cpython-312.pyc - /euphonic/__pycache__/utils.cpython-312.pyc...
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgitlab.com%2Fassets%2Ffavicon-72a2cad5025aa931d6ea56c3201d1f18e68a8cd39788c7c80d5b2b82aa5143ef.png" width="32" height="32"&gt;
          gitlab.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;i am made a drastic changes in this repo &lt;/p&gt;

&lt;p&gt;just look the angular docs, what are the things are for angular 17 to 22&lt;/p&gt;

&lt;p&gt;&lt;a href="https://angular.dev/overview" rel="noopener noreferrer"&gt;https://angular.dev/overview&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What is Angular?&lt;/p&gt;

&lt;p&gt;Angular is a web framework that empowers&lt;br&gt;
developers to build fast, reliable applications that users love.&lt;/p&gt;

&lt;p&gt;it is from the angular docs&lt;/p&gt;

</description>
    </item>
    <item>
      <title>July 9 blog</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Sun, 19 Jul 2026 12:29:12 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-9-blog-1876</link>
      <guid>https://dev.to/boopalan-s/july-9-blog-1876</guid>
      <description>&lt;p&gt;DOM &lt;br&gt;
Document Object Model &lt;/p&gt;

&lt;p&gt;Before diving into the DOM, we must know the parents, children, siblings tags in the HTML, and a good understanding in the CSS. &lt;/p&gt;

&lt;p&gt;In windows document every thing, can can define it with the name root, origin. &lt;/p&gt;

&lt;p&gt;Let see what was we are getting in if we try to log the document in javascript &lt;/p&gt;

&lt;p&gt;console.log(document)&lt;/p&gt;

&lt;p&gt;Is the document an object?&lt;br&gt;
 Yes, a document is an object and if we remove the body for the document object the browser window becomes empty.&lt;/p&gt;

&lt;p&gt;How to get the body for the document, let we try to get the body from the document object &lt;/p&gt;

&lt;p&gt;console.log(document.body)&lt;/p&gt;

&lt;p&gt;What are the things we can able to get from the document object &lt;/p&gt;

&lt;p&gt;Just like the body, the head is also the sibling to the body, right so we must get something. &lt;/p&gt;

&lt;p&gt;console.log(document.head)&lt;/p&gt;

&lt;p&gt;need to learn and write more on this topic&lt;/p&gt;

</description>
    </item>
    <item>
      <title>July 8 blog</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Sun, 19 Jul 2026 12:20:16 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-8th-blog-3fg</link>
      <guid>https://dev.to/boopalan-s/july-8th-blog-3fg</guid>
      <description>&lt;p&gt;As the continuation of the previous libre office impress i am create an animated matrix multiplication there is lot more needed to do in this, but i am happy to share that what i am done today &lt;/p&gt;

&lt;p&gt;&lt;iframe src="https://player.vimeo.com/video/1208453282" width="710" height="399"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;It seems like we are again going to restructure Tamilrulepy, really it holds a special place in my heart.&lt;/p&gt;

&lt;p&gt;So, I am thinking Instead of abandoning of this workflow I am just planning to keep this code alive revisit it in the future,&lt;/p&gt;

&lt;p&gt;Some would think giving up a closer one is a bit emotional, but I am eagerly waiting for the new workflow. &lt;/p&gt;

&lt;p&gt;My learnings in python &lt;/p&gt;

&lt;p&gt;decorator &lt;/p&gt;

&lt;p&gt;A simple and easier way to define an instant decorator in python is easy.&lt;/p&gt;

&lt;p&gt;If you see in some places developers will use three functions for defining decorator &lt;/p&gt;

&lt;p&gt;One interesting thing i get is we can call decorator while using them in the top of the functions &lt;/p&gt;

&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/decorator"&gt;@decorator&lt;/a&gt; &lt;br&gt;
&lt;a class="mentioned-user" href="https://dev.to/decorator"&gt;@decorator&lt;/a&gt;()&lt;/p&gt;

&lt;p&gt;Calling a decorator in these two different ways helps to achieve several things.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>july 7 blog</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Thu, 09 Jul 2026 14:43:51 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-8-blog-1kcm</link>
      <guid>https://dev.to/boopalan-s/july-8-blog-1kcm</guid>
      <description>&lt;p&gt;Grid and flex box&lt;/p&gt;

&lt;p&gt;How to move all children tags to center in parent particular tags.&lt;/p&gt;

&lt;p&gt;For that we have to first add the display : flex property to the parents&lt;/p&gt;

&lt;p&gt;Now if we see all the elements inside the parent tag it will display side by side, Previously it will be vertical one by one.&lt;/p&gt;

&lt;p&gt;Default values will be either block or online &lt;br&gt;
Based on the elements perspective &lt;/p&gt;

&lt;p&gt;block will for the elements to display &lt;br&gt;
Horizontally one by one.&lt;/p&gt;

&lt;p&gt;Online will help to display vertically.&lt;/p&gt;

&lt;p&gt;Flex is designed to change the property based on the elements x axis and y axis, can we change and view the elements appearance to we have add the flex property&lt;/p&gt;

&lt;p&gt;For better visualization we just add some more height and width for the parent element.&lt;/p&gt;

&lt;p&gt;Suppose if we want to change or add some behaviour for the elements in horizontally we want to handle the justify-content property &lt;/p&gt;

&lt;p&gt;Let us justify-content property with different values and see how they change.&lt;/p&gt;

&lt;p&gt;Flex start &lt;/p&gt;

&lt;p&gt;Flex End&lt;/p&gt;

&lt;p&gt;Center&lt;/p&gt;

&lt;p&gt;Just like horizontal, we will try some of the properties for vertically change, we can use the three values for the same as the align-item.&lt;/p&gt;

&lt;p&gt;Flex start&lt;/p&gt;

&lt;p&gt;Center &lt;/p&gt;

&lt;p&gt;Flex End &lt;/p&gt;

&lt;p&gt;Suppose if we use the three properties for this for the parent element it will always be how we described, even if we change the window size, it will remain the same.&lt;/p&gt;

&lt;p&gt;What will happen if the window size is less than what we expect, &lt;/p&gt;

&lt;p&gt;Let we see what was happening &lt;/p&gt;

&lt;p&gt;Was it actually adjusting the width between each element inside the parent tag? &lt;/p&gt;

&lt;p&gt;Suppose what will happen if we add more &lt;/p&gt;

&lt;p&gt;need to work on more&lt;/p&gt;

</description>
      <category>ai</category>
      <category>coding</category>
      <category>devjournal</category>
      <category>productivity</category>
    </item>
    <item>
      <title>july 6 blog</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Thu, 09 Jul 2026 14:24:35 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-6-5fbd</link>
      <guid>https://dev.to/boopalan-s/july-6-5fbd</guid>
      <description>&lt;p&gt;i am create a ppt in libre office impress &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvl6sw8439z2hzzvh15o4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvl6sw8439z2hzzvh15o4.png" alt=" " width="799" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7bexf9a2jocmv070jmwq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7bexf9a2jocmv070jmwq.png" alt=" " width="799" height="468"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am forget to take a screenshot with VARUN &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fazwua6xd6nkzsudfqhsj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fazwua6xd6nkzsudfqhsj.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Myself I am, Varun meet in Tamilrulepy and just planned how to code most reliable way and most faster way, &lt;/p&gt;

&lt;p&gt;Sathya Raj was deeply fascinated by the AI's coding capabilities. I was impressed by his prompt codes. It gives a way to think: is it possible to create a one workflow for getting rules through AI?&lt;/p&gt;

&lt;p&gt;Suppose if you are using expo router tabs and if you are developing an app for two kinds of audiences. For example if you want to show a common ui for general users and different ui for the admin’s how can you do it? &lt;/p&gt;

&lt;p&gt;I think this could cause a bit of trouble in achieving this one, but based on the database role it might be a simpler one, I need to work on this. If I complete this I will update here.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>july 5 blog</title>
      <dc:creator>boopalan</dc:creator>
      <pubDate>Sun, 05 Jul 2026 14:42:48 +0000</pubDate>
      <link>https://dev.to/boopalan-s/july-5-blog-3n88</link>
      <guid>https://dev.to/boopalan-s/july-5-blog-3n88</guid>
      <description>&lt;p&gt;Great time in the KanchLUG weekly meetup&lt;/p&gt;

&lt;p&gt;ideas about some of the projects in the TOSSconf hackathon&lt;/p&gt;

&lt;p&gt;idea about where we want to choose the sqlite and postgresql&lt;br&gt;
 ­&lt;br&gt;
The de Broglie Hypothesis,Matter Waves and Electron Diffraction,The Double-Slit Experiment&lt;br&gt;
it remembers my schools day and physic class, here he taught in the Physics but It remembers my chemistry classes, my classes books this all are covered my chemistry classes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2jgzb5g6qc754lylb70s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2jgzb5g6qc754lylb70s.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I was the maintainer and developer of the tamilstring &lt;/p&gt;

&lt;p&gt;I am planning to do at least two releases per year for an year so i am planned a release for this month. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbbrbj1fe410pt4qd5rnk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbbrbj1fe410pt4qd5rnk.png" alt=" " width="799" height="554"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;need more contributions &lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
        &lt;div class="c-embed__cover"&gt;
          &lt;a href="https://gitlab.com/boopalan-dev/tamilstring" class="c-link align-middle" rel="noopener noreferrer"&gt;
            &lt;img alt="" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgitlab.com%2Fassets%2Ftwitter_card-570ddb06edf56a2312253c5872489847a0f385112ddbcd71ccfa1570febab5d2.jpg" height="800" class="m-0" width="800"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://gitlab.com/boopalan-dev/tamilstring" rel="noopener noreferrer" class="c-link"&gt;
            Boopalan S / TamilString · GitLab
          &lt;/a&gt;
        &lt;/h2&gt;
          &lt;p class="truncate-at-3"&gt;
            GitLab.com
          &lt;/p&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fgitlab.com%2Fassets%2Ffavicon-72a2cad5025aa931d6ea56c3201d1f18e68a8cd39788c7c80d5b2b82aa5143ef.png" width="32" height="32"&gt;
          gitlab.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://tamilstring-011d48.gitlab.io/" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;tamilstring-011d48.gitlab.io&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
