Jump to content

Sherin

Members
  • Posts

    76
  • Joined

  • Last visited

Posts posted by Sherin

  1. select Products.productId,Product.ProductName,Orderdetails.quantity 
    
    from Products 
    
    inner join Orderdetails 
    
    on Products.productId=Orderdetails.productId 
    
    where Orderdetails.quantity=10 
    
    Order By Products.ProductName

    I think this was is help for you

  2. The key value em units offer is they allow sizing values to be determined by a font size other than that of the html element. For this reason, the primary purpose of em units should be to allow for scalability within the context of a specific design element

  3. insert into table1 values('2012-02-21T18:10:00', '2012-01-01T00:00:00');
    
    SELECT
       CAST('02-21-2012 6:10:00 PM' AS DATETIME2),    
       CAST('01-01-2012 12:00:00 AM' AS DATETIME2) 

    You can try this.

  4. You have define first of all border property after you can define property which you define in post

    div {
    
    border:2px solid black;
    
    border-bottom-left-bottom-radius:3px;
    
    }

     

  5. You will declare  <iostream.h> instead of <iostream> in your file . You have declared int i twice. but actually all languages are one time declare to variable. You can add only i=0 in if statement. if you have not another variable so i++ not working

    #include<iostream.h>
    
    using namespace std;
    
    int main ()
    
    {
    
    int i,n=5;
    
    for (i=0;i<n;i++)
    
    {
    
    cout<< i << endl;
    
    }
    
    return 0;
    
    } 

     

  6. First of all you have create migration file with this command :

    php artisan make: migration table_name

    this command is execute and  create table with timestamp of above:

    after this command is direct whenever you create database of below this command:

    php artisan migrate

    If you have specific table migrate this command is execute:

    php artisan migrate  --path=/database/migrations/filename.php

     

  7. <script>
       function sortTable() {
          var filterTable, rows, sorted, i, x, y, sortFlag;
          filterTable = document.querySelector(".filterTable");
          sorted = true;
          while (sorted) {
             sorted = false;
             rows = filterTable.rows;
             for (i = 1; i < rows.length - 1; i++) {
                sortFlag = false;
                x = rows[i].getElementsByTagName("TD")[0];
                y = rows[i + 1].getElementsByTagName("TD")[0];
                if (x.innerHTML.toLowerCase() > y.innerHTML.toLowerCase()) {
                   sortFlag = true;
                   break;
                }
             }
             if (sortFlag) {
                rows[i].parentNode.insertBefore(rows[i + 1], rows[i]);
                sorted = true;
             }
          }
       }
    </script>

    I would be this code is help for you..

  8. You can html element inside an SVG using foreignobject

    <html>
    <head>
        <meta charset="UTF-8">
        <title>HTML inside SVG</title>
        <style type="text/css"></style></head>
        <body>
            <div>I'm a div inside the HTML</div>
            <svg width="500" height="300" style="border:1px black solid">
                <foreignobject class="node" x="46" y="22" width="100" height="100">
                    
                        <div style="border:1px yellow solid">I'm a div inside a SVG.</div>                
                </foreignobject>
            </svg>
            <div>Interesting! But you a Foreign Object.</div>
        </body>
    </html>
     

    {F20296C1-0D1B-4793-BDCD-0164DF7FD276.jpg

  9. You can try this query 

    select column_name1,column_name2 ,column_name3 where column_name3  = 23 and Val=41;

    i will this query is help for you

    if you any query this query related then you ask me.

×
×
  • Create New...