Skip to main content

MongoDB vs SQL

MongoDB vs SQL

MongoDB vs SQL
(Image by - Sharma Guides | Subham232330)


MongoDB

  • MongoDB is used to store both structured and unstructured data
  • Data stored in JSON-like documents
  • MongoDB does not support JOIN and global transactions
  • MongoDB is fast and scalable
  • Schemaless


SQL

  • SQL is used to store only structured data
  • Data stored in table form
  • SQL support JOIN and global transactions
  • SQL is slow
  • Require Schema



Comments

Popular posts from this blog

Joins in DBMS

DBMS Joins: Inner, THETA, Outer, Equi Types of Join Operations Join in DBMS is a binary operation that allows you to combine join product and selection in one single statement. The goal of creating a join condition is that it helps you to combine the data from two or more DBMS tables. The tables in DBMS are associated using the primary key and foreign keys. Types of Join There are mainly two types of joins in DBMS: Inner Joins: Theta, Natural, EQUI Outer Join: Left, Right, Full Inner Join Inner Join is used to return rows from both tables which satisfy the given condition. It is the most widely used join operation and can be considered as a default join-type An Inner join or equijoin is a comparator-based join which uses equality comparisons in the join-predicate. However, if you use other comparison operators like “>” it can’t be called equijoin. Inner Join further divided into three subtypes: Theta join Natural join EQUI join Theta Join Theta Join allows you to merge two tables ba...

Excel Shortcuts - Ctrl + N, Ctrl + O, Ctrl + S, Ctrl + W, Ctrl + F4, Ctrl + H, Ctrl + K, Ctrl + PageDown, Ctrl + PageUp, Ctrl + P, Ctrl + G, Ctrl + ;, Ctrl + Space, Ctrl + 9, Ctrl + 0, Ctrl + F1, Ctrl + X, Ctrl + End, Ctrl + Home, Ctrl + Delete

Excel Shortcuts (Image by - Sharma Guides | Subham232330) Ctrl + N = To create a new workbook Ctrl + O = To open an existing workbook Ctrl + S = To save a workbook Ctrl + W = To close the current workbook Ctrl + F4 = To close excel Ctrl + H = To display find and replace Ctrl + K = To insert a hyperlink Ctrl + PageDown = To move the next sheet Ctrl + PageUp = To move the previous sheet Ctrl + P = Print File Ctrl + G = Display "Go To" dialog box Ctrl + ; = Insert the current date Ctrl + Space = Select the entire column Ctrl + 9 = Hide selected row Ctrl + 0 = Hide selected column Ctrl + F1 = Expand or Collapse ribbon Ctrl + X = Cut selected cells Ctrl + End = Move to the last cell in the worksheet Ctrl + Home = Move to the first cell in the worksheet Ctrl + Delete = Delete end of line

Find the order of every element of the group (G,o), where G = {1,-1,i,-i}

Find the order of every element of the group (G,o), where G = {1,-1,i,-i} Ans. G={1,-1,i,-i}      Here, '1' is the identity element i.e. of order 1 Also,           (-1) 2  = (-1).(-1) = 1  i.e. '-1' is of order 2.           (i) 4  = (i.i.i.i) = 1  i.e. 'i' is of order 4. And     (-i) 4  = (-i).(-i).(-i).(-i) = 1  i.e '-i' is of order 4.